Skip to content

Commit 866fbf2

Browse files
committed
old test fixes
1 parent 651e8ae commit 866fbf2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

e2e-playwright/src/features/navigation.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Feature: Navigation panel links
2828
Given Kafka Connect is visible
2929
When click on Kafka Connect link
3030
Then Kafka Connect heading visible
31-
Then the end of current URL should be "kafka-connect/clusters"
31+
Then the end of current URL should be "connectors"
3232

3333
Scenario: Navigate to KSQL DB
3434
Given KSQL DB is visible

e2e-playwright/src/steps/navigation.steps.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ Given('Kafka Connect is visible', async function() {
6262
await expect(this.locators.panel.kafkaConnectLink).toBeVisible();
6363
});
6464

65-
When('click on Kafka Connect link', async function() {
65+
When('click on Kafka Connect link', async function(this: PlaywrightWorld) {
6666
await this.locators.panel.kafkaConnectLink.click();
6767
});
6868

69-
Then('Kafka Connect heading visible', async function() {
70-
await this.locators.connectors.clustersTab.waitFor({ state: 'visible' });
69+
Then('Kafka Connect heading visible', async function(this: PlaywrightWorld) {
70+
await this.locators.connectors.heading.waitFor({ state: 'visible' });
7171
});
7272

7373
Given('KSQL DB is visible', async function() {

0 commit comments

Comments
 (0)