test: adapt tests to OAuth client rename
This commit is contained in:
@@ -2,14 +2,14 @@ import { expect } from '@playwright/test';
|
||||
|
||||
const { AuthenticatedPage } = require('../authenticated-page');
|
||||
|
||||
export class AdminApplicationAuthClientsPage extends AuthenticatedPage {
|
||||
export class AdminApplicationOAuthClientsPage extends AuthenticatedPage {
|
||||
/**
|
||||
* @param {import('@playwright/test').Page} page
|
||||
*/
|
||||
constructor(page) {
|
||||
super(page);
|
||||
|
||||
this.authClientsTab = this.page.getByTestId('auth-clients-tab');
|
||||
this.authClientsTab = this.page.getByTestId('oauth-clients-tab');
|
||||
this.saveButton = this.page.getByTestId('submitButton');
|
||||
this.successSnackbar = this.page.getByTestId(
|
||||
'snackbar-save-admin-apps-settings-success'
|
||||
@@ -8,7 +8,9 @@ const { AdminEditRolePage } = require('./edit-role-page');
|
||||
|
||||
const { AdminApplicationsPage } = require('./applications-page');
|
||||
const { AdminApplicationSettingsPage } = require('./application-settings-page');
|
||||
const { AdminApplicationAuthClientsPage } = require('./application-auth-clients-page');
|
||||
const {
|
||||
AdminApplicationOAuthClientsPage,
|
||||
} = require('./application-oauth-clients-page');
|
||||
|
||||
export const adminFixtures = {
|
||||
adminUsersPage: async ({ page }, use) => {
|
||||
@@ -35,8 +37,7 @@ export const adminFixtures = {
|
||||
adminApplicationSettingsPage: async ({ page }, use) => {
|
||||
await use(new AdminApplicationSettingsPage(page));
|
||||
},
|
||||
adminApplicationAuthClientsPage: async ({ page }, use) => {
|
||||
await use(new AdminApplicationAuthClientsPage(page));
|
||||
}
|
||||
adminApplicationOAuthClientsPage: async ({ page }, use) => {
|
||||
await use(new AdminApplicationOAuthClientsPage(page));
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user