Skip to content

Commit

Permalink
Update @wordpress/env package
Browse files Browse the repository at this point in the history
Update node

Update sh script

Update config

Update config

Update command

Update config

Update config

Update config

Update package

Update package

Update package

Update package

Update test

Update test

Update test

Update test
  • Loading branch information
burhandodhy committed Aug 19, 2024
1 parent 98a378c commit 618c102
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/cypress/e2e/admin-setup.test.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
describe("Plugin Setup Tests", () => {
before(() => {
cy.login();
// We start fresh before running our tests.
cy.deleteBrightcoveOptions();
});

it("Brightcove Video Connect can be activated and deactivated", () => {
beforeEach(() => {
cy.login();
});

it("Brightcove Video Connect can be activated and deactivated", () => {
cy.activatePlugin("brightcove-video-connect");
cy.deactivatePlugin("brightcove-video-connect");
});

it("Display admin notice asking to configure the plugin displays when activating the plugin for the first time", () => {
cy.login();
cy.activatePlugin("brightcove-video-connect");
cy.get('.configure-brightcove').should('exist');
});

it( "Can successfully connect to Brightcove", () => {
cy.login();
cy.visitAdminPage('?page=page-brightcove-edit-source');
cy.get('#source-name').type('Cypress');
cy.get('#source-account-id').type(Cypress.env('brightcoveAccountId'));
Expand Down

0 comments on commit 618c102

Please sign in to comment.