-
Notifications
You must be signed in to change notification settings - Fork 81
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
Create tests for repositories #3714
Conversation
cy.get('[data-cy="Page-AnsibleRepositoryEdit"]'); | ||
}); | ||
|
||
it.skip('tests CLI config', () => { |
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.
why the skip?
EDIT: ah, Write permission denied.
because js doesn't have the clipboard permission in headless mode .. looks like something like https://github.com/kamranayub/cypress-browser-permissions#chrome--edge-chromium might help (but we can also address this separately)
=> #3756
Backport to stable-4.7: 💚 backport PR created✅ Backport PR branch: Backported as #3734 🤖 @patchback |
* Create tests for repositories (#3714) * Data-cy * Add tests * Changes Issue: AAH-2245 * Skip failing test * With and without remote * Versions and revert * PR Checks (cherry picked from commit ba120d9) * Repository tests - unskip clipboard test, grant permissions the repo test was skipped because in headless chrome, copying to clipboard fails with 'Write permission denied.' grant the permission in before, so the test can pass (this only works for chrome/chromium) No-Issue * Repository tests: create distribution for one repo, copy cli fails otherwise No-Issue (cherry picked from commit 12479d9) --------- Co-authored-by: MilanPospisil <arkanus@seznam.cz> Co-authored-by: Martin Hradil <mhradil@redhat.com>
https://issues.redhat.com/browse/AAH-2245