-
Notifications
You must be signed in to change notification settings - Fork 667
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
[gui-tests] Add oauth2 login test scenario #10511
Conversation
Results for GUI-tests-oc10 https://drone.owncloud.com/owncloud/client/14322/6/1 💥 The GUI tests failed. GUI Logs: https://cache.owncloud.com/public/owncloud/client/14322/oc10/guiReportUpload/index.html |
a9d3847
to
c331d2e
Compare
c331d2e
to
7767ec1
Compare
7767ec1
to
a943858
Compare
// login | ||
await page.fill("#user", config.username); | ||
await page.fill("#password", config.password); | ||
await page.click("button[type=submit]"); | ||
// authorize | ||
await page.click("button >> text=Authorize"); | ||
// confirm successful login | ||
await expect(page.locator("span.error")).toContainText( | ||
"The application was authorized successfully" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we have to add such normal comments also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just to group the actions.
ed238b4
to
f1540f7
Compare
do oauth login from squish tests dry webui test code
add install pnpm pipeline step
f1540f7
to
a878164
Compare
Kudos, SonarCloud Quality Gate passed! |
Added a test scenario to test the successful oauth2 login (only for oC10 server)
Related Issues