mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
test: ✅ Fixed user management tests
This commit is contained in:
parent
9ef57bba28
commit
7a2a14695e
2 changed files with 13 additions and 13 deletions
|
@ -8,7 +8,7 @@ describe("Wizard Setup", () => {
|
|||
});
|
||||
|
||||
|
||||
it.only("Finsh with no local user", () => {
|
||||
it("Finsh with no local user", () => {
|
||||
Page.visit();
|
||||
|
||||
Page.welcomeTab.next.click();
|
||||
|
|
|
@ -106,9 +106,9 @@ describe('User Management Page', () => {
|
|||
// Verify that the limits are set
|
||||
cy.get('#edituserToEdit').click();
|
||||
cy.contains('Request Limits').click();
|
||||
cy.get('#movieRequestLimit').should('have.attr', 'ng-reflect-model', '2')
|
||||
cy.get('#musicRequestLimit').should('have.attr', 'ng-reflect-model', '3')
|
||||
cy.get('#episodeRequestLimit').should('have.attr', 'ng-reflect-model', '4')
|
||||
cy.get('#movieRequestLimit').should('have.value', '2')
|
||||
cy.get('#musicRequestLimit').should('have.value', '3')
|
||||
cy.get('#episodeRequestLimit').should('have.value', '4')
|
||||
|
||||
});
|
||||
|
||||
|
@ -134,14 +134,14 @@ describe('User Management Page', () => {
|
|||
// Verify that the limits are set
|
||||
cy.get('#edituserToEdit').click();
|
||||
cy.contains('Notification Preferences').click();
|
||||
cy.get('#Discord').should('have.attr', 'ng-reflect-model', "Discord");
|
||||
cy.get('#Pushbullet').should('have.attr', 'ng-reflect-model', "Pushbullet");
|
||||
cy.get('#Pushover').should('have.attr', 'ng-reflect-model', "Pushover");
|
||||
cy.get('#Telegram').should('have.attr', 'ng-reflect-model', "Telegram");
|
||||
cy.get('#Slack').should('have.attr', 'ng-reflect-model', "Slack");
|
||||
cy.get('#Mattermost').should('have.attr', 'ng-reflect-model', "Mattermost");
|
||||
cy.get('#Gotify').should('have.attr', 'ng-reflect-model', "Gotify");
|
||||
cy.get('#WhatsApp').should('have.attr', 'ng-reflect-model', "Whatsapp");
|
||||
cy.get('#Discord').should('have.value', "Discord");
|
||||
cy.get('#Pushbullet').should('have.value', "Pushbullet");
|
||||
cy.get('#Pushover').should('have.value', "Pushover");
|
||||
cy.get('#Telegram').should('have.value', "Telegram");
|
||||
cy.get('#Slack').should('have.value', "Slack");
|
||||
cy.get('#Mattermost').should('have.value', "Mattermost");
|
||||
cy.get('#Gotify').should('have.value', "Gotify");
|
||||
cy.get('#WhatsApp').should('have.value', "Whatsapp");
|
||||
|
||||
});
|
||||
|
||||
|
@ -158,6 +158,6 @@ describe('User Management Page', () => {
|
|||
cy.verifyNotification('successfully');
|
||||
|
||||
cy.get('#edituserToEdit').click();
|
||||
cy.get('#rolePowerUser').should('have.attr', 'ng-reflect-model', 'true');
|
||||
cy.get('#rolePowerUser').should('have.class', 'mat-checked');
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue