-
Notifications
You must be signed in to change notification settings - Fork 149
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
[ACS-5014] Migrated Copy Move actions E2Es from protractor to playwright #3531
[ACS-5014] Migrated Copy Move actions E2Es from protractor to playwright #3531
Conversation
|
||
import { ApiClientFactory, MyLibrariesPage, NodesApi, SitesApi, test, Utils } from '@alfresco/playwright-shared'; | ||
import { expect } from '@playwright/test'; | ||
import { logger } from '@alfresco/adf-cli/scripts/logger'; |
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.
there should be other logger for tests, we should not import adf cli into the e2e.... alternatively can use just "console.error"
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.
Migrated logger from adf-cli to adf-testing. However, while looking into this, I also noticed that the same adf-cli logger is being used create-library.spec.ts as well as create-folder.spec.ts. If we want, I can update those imports as well. Just note that they are not at all related to the changes/objective of this PR
|
||
import { ApiClientFactory, test, Utils, PersonalFilesPage, NodesApi, LoginPage } from '@alfresco/playwright-shared'; | ||
import { expect } from '@playwright/test'; | ||
import { logger } from '@alfresco/adf-cli/scripts/logger'; |
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.
same here, adf cli should not be used for e2e
e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts
Show resolved
Hide resolved
e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts
Outdated
Show resolved
Hide resolved
e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts
Outdated
Show resolved
Hide resolved
e2e/protractor/suites/actions/copy-move/destination-picker-dialog.test.ts
Show resolved
Hide resolved
e2e/protractor/suites/actions/copy-move/destination-picker-dialog.test.ts
Show resolved
Hide resolved
e2e/protractor/suites/actions/copy-move/destination-picker-dialog.test.ts
Show resolved
Hide resolved
e2e/protractor/suites/actions/copy-move/destination-picker-dialog.test.ts
Show resolved
Hide resolved
needs rebase |
…/beforeEach wherever applicable. Added missing await.
…ects from content-node-selector-dialog.ts
…ects from content-node-selector-dialog.ts
953811f
to
764fc00
Compare
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
Copy Move Actions e2es were implemented in protractor
What is the new behaviour?
Migrated the E2Es to playwright
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: