Skip to content

Commit

Permalink
fix: tests url
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaghdam committed Oct 28, 2024
1 parent ee1b34d commit a0ff8c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import { resetPanelSettings } from '@blockera/dev-cypress/js/helpers';

describe('Block Manager Settings Testing ...', () => {
beforeEach(() => {
goTo('/wp-admin/admin.php?page=blockera-settings').then(() => {
goTo(
'/wp-admin/admin.php?page=blockera-settings-general-settings'
).then(() => {
if (Cypress.$('#skip_activation').length) {
cy.get('#skip_activation').click();
}
Expand Down
2 changes: 1 addition & 1 deletion packages/freemius-sdk/test/opt-in.freemius.e2e.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Freemius → Opt-in Form After Plugin Activation', () => {
//
// Assert the opt-in form on the settings page
//
goTo('/wp-admin/admin.php?page=blockera-settings');
goTo('/wp-admin/admin.php?page=blockera-settings-general-settings');

cy.get('button[type="submit"]').contains('Allow & Continue');

Expand Down

0 comments on commit a0ff8c0

Please sign in to comment.