Skip to content
Snippets Groups Projects
Commit 34131290 authored by Xiao Gui's avatar Xiao Gui
Browse files

fix e2e error

parent b549a671
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ describe(`fav'ing dataset`, () => {
expect(number2).toEqual(0)
})
it('click unpin in dataset detail sheet unpins fav, but also allows user to undo', async () => {
it('> click unpin in dataset detail sheet unpins fav, but also allows user to undo', async () => {
const datasets = await iavPage.getVisibleDatasets()
......@@ -185,6 +185,9 @@ describe(`fav'ing dataset`, () => {
const numberOfFav = await iavPage.getNumberOfFavDataset()
expect(numberOfFav).toEqual(1)
// this wait is unfortunately necessary, as the snack bar sometimes obscures the unpin this dataset button
await iavPage.wait(5000)
await iavPage.clickModalBtnByText(/unpin\ this\ dataset/i)
await iavPage.wait(500)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment