From 80a85f1ea8049adb4ad52e059dc26dfb5b65bc99 Mon Sep 17 00:00:00 2001 From: "Mary (JJ) Jay" Date: Thu, 15 Aug 2024 10:33:16 -0400 Subject: [PATCH] Use correct variable name Co-authored-by: Piotr Delawski --- tests/e2e/network-activated.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/network-activated.spec.js b/tests/e2e/network-activated.spec.js index e963478c..c46097d6 100644 --- a/tests/e2e/network-activated.spec.js +++ b/tests/e2e/network-activated.spec.js @@ -41,7 +41,7 @@ test.describe( 'Network: shows network activated states', () => { .getByLabel( 'Network Activate Stream' ) .isVisible(); - if ( isActive ) { + if ( isInactive ) { // eslint-disable-next-line no-console console.log( 'Activating Stream for next tests.' ); await page.getByLabel( 'Network Activate Stream' ).click();