Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove e2e type workaround #1628

Merged
merged 1 commit into from
May 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/frontend/src/test-e2e/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ export async function runInBrowser(
// Disables permission prompt for clipboard, needed for tests using the clipboard (without this,
// the browser window prompts the user to allow or block clipboard access).
// https://stackoverflow.com/questions/53669639/enable-clipboard-in-automated-tests-with-protractor-and-webdriver
// XXX: the "any" cast is needed because our webdriverio version only expects numbers, strings
// or bools: https://github.com/webdriverio/webdriverio/issues/9924
prefs: {
"profile.content_settings.exceptions.clipboard": {
"*": { last_modified: Date.now(), setting: 1 },
} as any,
},
},
};

Expand Down