Skip to content

Commit de030e1

Browse files
committed
fix(test): Change the parent html element and change assert to true
Discussion regarding the changes gristlabs#1653 (comment)
1 parent 26d9687 commit de030e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/nbrowser/DocTour.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ describe('DocTour', function () {
265265

266266
async function checkDocTourPresent() {
267267
// Check the expected message.
268-
assert.isFalse(await driver.findWait('.test-onboarding-popup', 500)
269-
.findContent('p', 'General Kenobi!').isPresent());
268+
assert.isTrue(await driver.findWait('.test-onboarding-popup', 500)
269+
.findContent('div', 'General Kenobi!').isPresent());
270270

271271
// Check that there is only one popup, and no errors.
272272
assert.lengthOf(await driver.findAll('.test-onboarding-popup'), 1);

0 commit comments

Comments
 (0)