Skip to content

Commit 826b011

Browse files
test updates
1 parent 4eeb034 commit 826b011

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

test/e2e/specs/admin/connectors.spec.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,12 @@ test.describe( 'Connectors', () => {
6969
// Verify the plugin directory search link is present.
7070
await expect(
7171
page.getByRole( 'link', {
72-
name: 'the plugin directory',
72+
name: 'search the plugin directory',
7373
} )
74-
).toHaveAttribute( 'href', 'plugin-install.php' );
74+
).toHaveAttribute(
75+
'href',
76+
'plugin-install.php?s=connector&tab=search&type=tag'
77+
);
7578
} );
7679

7780
test.describe( 'Test provider setup flow', () => {
@@ -295,7 +298,7 @@ test.describe( 'Connectors', () => {
295298
// Plugin directory link should be hidden.
296299
await expect(
297300
page.getByRole( 'link', {
298-
name: 'the plugin directory',
301+
name: 'search the plugin directory',
299302
} )
300303
).toBeHidden();
301304
} );

0 commit comments

Comments
 (0)