Skip to content

Commit 2f08f69

Browse files
committed
Merge branch 'main' of github.com:nightwatchjs/nightwatch
2 parents d5e532d + 84c5d00 commit 2f08f69

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The MIT License (MIT)
22

33
Copyright (c) 2014-2021, Pine View Software AS. https://pineview.io
4-
Copyright (c) 2021, BrowserStack Limited. https://www.browserstack.com
4+
Copyright (c) 2022, BrowserStack Limited. https://www.browserstack.com
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy of
77
this software and associated documentation files (the "Software"), to deal in

examples/tests/google.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ describe('sample google search', function() {
55
browser.navigateTo('http://google.no');
66

77
const consentPresent = await browser.isPresent('[aria-modal="true"][title="Before you continue to Google Search"]');
8-
8+
// Wait until we are on consent page
99
if (consentPresent === true) {
1010
browser
1111
.waitForElementVisible('[aria-modal="true"][title="Before you continue to Google Search"]')
1212
.click('[aria-modal="true"] div.VDity button:nth-child(1)')
1313

14-
// Wait until we are on conset page
14+
// Wait until we are on consent page
1515
.expect.url().toContain('https://consent.google.no')
1616

1717
// Turn everything off

0 commit comments

Comments
 (0)