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

[tests-only][full-ci]Refactor webUILogin/adminBlocksUser.feature:20 to make it follow the current behaviour #8074

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

SwikritiT
Copy link
Contributor

@SwikritiT SwikritiT commented Dec 7, 2022

Description

The changed test was failing because it was not compatible with the current behavior of the system, this PR makes it work according to the current behavior and removes closed issue #4795 from the expected to fail.

Related Issue

Motivation and Context

How Has This Been Tested?

  • Locally
  • CI

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@SwikritiT SwikritiT self-assigned this Dec 7, 2022
@SwikritiT SwikritiT changed the title [tests-only][full-ci]Refactor webUILogin/adminBlocksUser.feature::20 to make it follow the… [tests-only][full-ci]Refactor webUILogin/adminBlocksUser.feature::20 to make it follow the current behaviour Dec 7, 2022
@SwikritiT SwikritiT changed the title [tests-only][full-ci]Refactor webUILogin/adminBlocksUser.feature::20 to make it follow the current behaviour [tests-only][full-ci]Refactor webUILogin/adminBlocksUser.feature:20 to make it follow the current behaviour Dec 7, 2022
@SwikritiT
Copy link
Contributor Author

weird the screenshot shows that the user is navigated to the login page but locally for me they are navigated to the disabled page. Need to look further into it.

@SwikritiT SwikritiT force-pushed the refactor-expected-to-fail-for-closed-issue branch from fea04d7 to 33818c6 Compare December 8, 2022 08:03
@owncloud owncloud deleted a comment from ownclouders Dec 9, 2022
@SwikritiT SwikritiT force-pushed the refactor-expected-to-fail-for-closed-issue branch from 140b230 to ae5c19d Compare December 9, 2022 04:01
@ownclouders
Copy link
Contributor

ownclouders commented Dec 9, 2022

Results for e2e-tests oC10 https://drone.owncloud.com/owncloud/web/30598/11/1

💥 To see the trace, please open the link in the console ...

npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/30598/tracing/upload-resources-in-personal-space-alice-2022-12-9-10-59-41.zip

@SwikritiT SwikritiT force-pushed the refactor-expected-to-fail-for-closed-issue branch from 6636a1d to 3bc76ad Compare December 9, 2022 09:57
@SwikritiT SwikritiT marked this pull request as ready for review December 9, 2022 11:10
@SwikritiT SwikritiT force-pushed the refactor-expected-to-fail-for-closed-issue branch 2 times, most recently from cbb1fa7 to 80e69c1 Compare December 12, 2022 03:47
@SwikritiT SwikritiT force-pushed the refactor-expected-to-fail-for-closed-issue branch from d6fc429 to a2c536e Compare December 13, 2022 03:36
Copy link
Member

@saw-jan saw-jan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

… current behaviour

use the user disabled page step

change the selector

fix lint

try with single selector
@SwikritiT SwikritiT force-pushed the refactor-expected-to-fail-for-closed-issue branch from a2c536e to 025a777 Compare December 13, 2022 04:13
@sonarcloud
Copy link

sonarcloud bot commented Dec 13, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Contributor

@grgprarup grgprarup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@SwikritiT SwikritiT merged commit 67c6417 into master Dec 13, 2022
@delete-merged-branch delete-merged-branch bot deleted the refactor-expected-to-fail-for-closed-issue branch December 13, 2022 06:00
SwikritiT added a commit that referenced this pull request Dec 20, 2022
SwikritiT added a commit that referenced this pull request Dec 20, 2022
…ble branch (#8138)

* Refactor test steps

* [tests-only][full-ci]Refactor webUILogin/adminBlocksUser.feature:20 to make it follow the current behaviour #8074

* Remove tests from expected to failure linked to closed issue

* Skip private link related tests on ocis

* add notToImplementOnOCIS tag instead of skip on

* Skip shares related tests in OCIS

* Skip tests that open shares folder in ocis

* Remove steps that browses to  panel

* update expected to fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants