Skip to content

Commit

Permalink
Revert test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg committed Apr 4, 2024
1 parent 3edf686 commit e464f24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions frontend/e2e/helpers.cafe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,6 @@ export const closeModal = async () => {
offsetY: 50,
})
}
export const scrollIntoView = async (selector:string) => {
await t.scrollIntoView(selector)
}
export const createFeature = async (
index: number,
name: string,
Expand Down
5 changes: 2 additions & 3 deletions frontend/e2e/tests/versioning-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
createRemoteConfig,
editRemoteConfig,
log,
login, scrollIntoView,
login,
waitAndRefresh,
waitForElementVisible,
} from '../helpers.cafe';
Expand All @@ -32,8 +32,7 @@ export default async () => {
await click('#env-settings-link')
await click(byId('enable-versioning'))
await click('#confirm-toggle-feature-btn')
await waitAndRefresh(30000)
await scrollIntoView(byId('enable-versioning'))
await waitAndRefresh()

log('Create feature 1')
await createRemoteConfig(0, 'a', 'small')
Expand Down

0 comments on commit e464f24

Please sign in to comment.