Skip to content

Commit

Permalink
Try removing .isPlan(), see what happens
Browse files Browse the repository at this point in the history
  • Loading branch information
pypt committed Dec 28, 2023
1 parent a77f281 commit bc40601
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ test.beforeAll( async ( { browser } ) => {
.withLoggedIn( true )
.withWpComLoggedIn( true )
.withConnection( true )
.withPlan( Plans.Free )
.build();
await page.close();
} );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ import { enableAutomaticRules, generateRules } from '../../helpers/waf-helper.js
test.describe.parallel( 'WAF Blocking', () => {
test.beforeAll( async ( { browser } ) => {
const page = await browser.newPage( playwrightConfig.use );
/* Note that .withPlan( Plans.Complete ) does not really apply yet because we are mocking the data returned from
* the API for now. See tools/e2e-commons/plugins/e2e-waf-data-interceptor.php for details.
*/
await prerequisitesBuilder( page )
.withCleanEnv()
.withWpComLoggedIn( true )
.withLoggedIn( true )
.withConnection( true )
.withPlan( Plans.Complete )
.withActiveModules( [ 'waf' ] )
.build();
await enableAutomaticRules();
Expand Down

0 comments on commit bc40601

Please sign in to comment.