Fixed all the automation tests, and the bugs that the tests found

This commit is contained in:
tidusjar 2021-03-24 09:05:40 +00:00
commit e34ce215ac
13 changed files with 112 additions and 21 deletions

View file

@ -1,10 +1,15 @@
import { BasePage } from "../../base.page";
import { AdminRequestDialog } from "../../shared/AdminRequestDialog";
class MovieInformationPanel {
get denyReason(): Cypress.Chainable<any> {
return cy.get('#deniedReasonInfo');
}
get requestedBy(): Cypress.Chainable<any> {
return cy.get('#requestedByInfo');
}
}
class DenyModal {
@ -74,6 +79,7 @@ class MovieDetailsPage extends BasePage {
denyModal = new DenyModal();
informationPanel = new MovieInformationPanel();
adminOptionsDialog = new AdminRequestDialog();
constructor() {
super();