mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-9297] [ACA] [E2E] Update test IDs to match the XRAY test cases IDs (#4429)
* [ACS-9297] [E2E] Authentication and List Views updated * [ACS-9297] navigation tests IDs updated * [ACS-9297] updated pagination IDs * [ACS-9297] updated download actions ids * [ACS-9297] Updated upload-download actions IDs & changed the location of viewer-version-actions tests to match XRAY * [ACS-9297] updated copy-move-actions IDs * [ACS-9297] Updated delete-actions IDs * [ACS-9297] updated create-actions IDs * [ACS-9297] Updated library-actions IDs * [ACS_9297] Updated share IDs * [ACS-9297] Special Permissions Updated IDs * [ACS-9297] Updated viewer IDs * [ACS-9297] Updated comments IDs * [ACS-9297] Updated Search IDs * [ACS-9297] Updated the remaning IDs * [ACS-9297] one tests excluded one duplicated deleted * [ACS-9297] fixing rebase mistakes 1
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"C213097" : "https://hyland.atlassian.net/browse/ACS-5479"
|
||||
"XAT-4370" : "https://hyland.atlassian.net/browse/ACS-5479"
|
||||
}
|
||||
|
@@ -59,7 +59,7 @@ test.describe('viewer file', () => {
|
||||
});
|
||||
|
||||
test.describe('general tests', () => {
|
||||
test('[C213089] login page layout', async ({ loginPage }) => {
|
||||
test('[XAT-4366] login page layout', async ({ loginPage }) => {
|
||||
await loginPage.navigate();
|
||||
await expect(loginPage.username, 'username input is not enabled').toBeEnabled();
|
||||
await expect(loginPage.password, 'password input is not enabled').toBeEnabled();
|
||||
@@ -72,14 +72,14 @@ test.describe('viewer file', () => {
|
||||
});
|
||||
|
||||
test.describe('with invalid credentials', () => {
|
||||
test('[C213106] unauthenticated user is redirected to Login page', async ({ personalFiles }) => {
|
||||
test('[XAT-4378] unauthenticated user is redirected to Login page', async ({ personalFiles }) => {
|
||||
await personalFiles.navigate();
|
||||
expect(personalFiles.page.url()).toContain('login');
|
||||
});
|
||||
});
|
||||
|
||||
test.describe('with valid credentials', () => {
|
||||
test('[C213097] logs in with user with non-latin characters', async ({ loginPage }) => {
|
||||
test('[XAT-4370] Login with a user that contains non-Latin characters in username or password', async ({ loginPage }) => {
|
||||
await loginPage.navigate();
|
||||
await loginPage.loginUser({ username: otherLanguageUser.username, password: otherLanguageUser.password });
|
||||
expect(loginPage.page.url()).toContain('personal-files');
|
||||
@@ -95,7 +95,7 @@ test.describe('viewer file', () => {
|
||||
expect(loginPage.page.url()).toContain('personal-files');
|
||||
});
|
||||
|
||||
test('[C213104] user is able to login after changing his password', async ({ loginPage }) => {
|
||||
test('[XAT-4372] Login with a user that has changed its password', async ({ loginPage }) => {
|
||||
await apiClientFactory.changePassword(testUser2.username, newPassword);
|
||||
await loginPage.navigate();
|
||||
await loginPage.loginUser({ username: testUser2.username, password: newPassword });
|
||||
|
@@ -37,7 +37,7 @@ test.describe('viewer file', () => {
|
||||
await apiClientFactory.createUser(testUser);
|
||||
});
|
||||
|
||||
test('[C213145] redirects to Login page when pressing browser Back after logout', async ({ loginPage }) => {
|
||||
test('[XAT-4382] User is not signed back in when pressing browser Back button after sign out', async ({ loginPage }) => {
|
||||
await loginPage.navigate();
|
||||
await loginPage.loginUser({ username: testUser.username, password: testUser.password });
|
||||
await loginPage.logoutUser();
|
||||
|
Reference in New Issue
Block a user