Skip to content
Snippets Groups Projects
Commit 7b654664 authored by Lotte Hofstede's avatar Lotte Hofstede
Browse files

Fixed issue with e2e test after merging

parent c5777dd4
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ describe('protractor SearchPage', () => {
scope.then((scopeString: string) => {
page.setCurrentScope(scopeString);
page.submitSearchForm();
browser.sleep(10);
browser.getCurrentUrl().then((url: string) => {
expect(url.indexOf('scope=' + encodeURI(scopeString))).toBeGreaterThanOrEqual(0);
});
......@@ -42,6 +43,7 @@ describe('protractor SearchPage', () => {
const queryString = 'Another interesting query string';
page.setCurrentQuery(queryString);
page.submitSearchForm();
browser.sleep(10);
browser.getCurrentUrl().then((url: string) => {
expect(url.indexOf('query=' + encodeURI(queryString))).toBeGreaterThanOrEqual(0);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment