File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
3
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
5
5
6
6
Permission is hereby granted, free of charge, to any person obtaining a copy of
7
7
this software and associated documentation files (the "Software"), to deal in
Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ describe('sample google search', function() {
5
5
browser . navigateTo ( 'http://google.no' ) ;
6
6
7
7
const consentPresent = await browser . isPresent ( '[aria-modal="true"][title="Before you continue to Google Search"]' ) ;
8
-
8
+ // Wait until we are on consent page
9
9
if ( consentPresent === true ) {
10
10
browser
11
11
. waitForElementVisible ( '[aria-modal="true"][title="Before you continue to Google Search"]' )
12
12
. click ( '[aria-modal="true"] div.VDity button:nth-child(1)' )
13
13
14
- // Wait until we are on conset page
14
+ // Wait until we are on consent page
15
15
. expect . url ( ) . toContain ( 'https://consent.google.no' )
16
16
17
17
// Turn everything off
You can’t perform that action at this time.
0 commit comments