Skip to content

Commit

Permalink
fix selector in test step
Browse files Browse the repository at this point in the history
  • Loading branch information
Simão sá authored and Simão sá committed Oct 31, 2023
1 parent d042422 commit 343a0a7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/frontend/e2e/tests/RxD.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,7 @@ describe('RxD testing', () => {

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

const no_regions_text = await page.$$eval('#simple-tabpanel-1', no_regions_text => {
return no_regions_text.map(no_regions_text => no_regions_text.innerText)
})

expect(no_regions_text).toContain('There are no Species yet.')
await page.waitForSelector('#ip3')
console.log('Species tab opened')
await page.waitForTimeout(PAGE_WAIT)

Expand Down

0 comments on commit 343a0a7

Please sign in to comment.