Skip to content

Commit 343a0a7

Browse files
Simão sáSimão sá
authored andcommitted
fix selector in test step
1 parent d042422 commit 343a0a7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/frontend/e2e/tests/RxD.test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,7 @@ describe('RxD testing', () => {
230230

231231
await page.waitForSelector('button[aria-selected="true"][id = "simple-tab-1"]')
232232

233-
const no_regions_text = await page.$$eval('#simple-tabpanel-1', no_regions_text => {
234-
return no_regions_text.map(no_regions_text => no_regions_text.innerText)
235-
})
236-
237-
expect(no_regions_text).toContain('There are no Species yet.')
233+
await page.waitForSelector('#ip3')
238234
console.log('Species tab opened')
239235
await page.waitForTimeout(PAGE_WAIT)
240236

0 commit comments

Comments
 (0)