Skip to content

Commit 84283a8

Browse files
committed
Update expected duckduckgo placeholder texts
This has apparently changed again.
1 parent 947098c commit 84283a8

File tree

12 files changed

+12
-42
lines changed

12 files changed

+12
-42
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Then("I should see a search bar", () => {
4646
.should("have.attr", "placeholder")
4747
.and(
4848
"match",
49-
/Search the web without being tracked|Search without being tracked/,
49+
/Search without being tracked|Search privately/,
5050
);
5151
});
5252
```

docs/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Then("I should see a search bar", () => {
9797
.should("have.attr", "placeholder")
9898
.and(
9999
"match",
100-
/Search the web without being tracked|Search without being tracked/,
100+
/Search without being tracked|Search privately/,
101101
);
102102
});
103103
```

examples/browserify-cjs/cypress/e2e/duckduckgo.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ When("I visit duckduckgo.com", () => {
77
Then("I should see a search bar", () => {
88
cy.get("input[type=text]")
99
.should("have.attr", "placeholder")
10-
.and(
11-
"match",
12-
/Search the web without being tracked|Search without being tracked/,
13-
);
10+
.and("match", /Search without being tracked|Search privately/);
1411
});

examples/browserify-esm/cypress/e2e/duckduckgo.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ When("I visit duckduckgo.com", () => {
77
Then("I should see a search bar", () => {
88
cy.get("input[type=text]")
99
.should("have.attr", "placeholder")
10-
.and(
11-
"match",
12-
/Search the web without being tracked|Search without being tracked/,
13-
);
10+
.and("match", /Search without being tracked|Search privately/);
1411
});

examples/browserify-ts/cypress/e2e/duckduckgo.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ When("I visit duckduckgo.com", () => {
77
Then("I should see a search bar", () => {
88
cy.get("input[type=text]")
99
.should("have.attr", "placeholder")
10-
.and(
11-
"match",
12-
/Search the web without being tracked|Search without being tracked/,
13-
);
10+
.and("match", /Search without being tracked|Search privately/);
1411
});

examples/esbuild-cjs/cypress/e2e/duckduckgo.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ When("I visit duckduckgo.com", () => {
77
Then("I should see a search bar", () => {
88
cy.get("input[type=text]")
99
.should("have.attr", "placeholder")
10-
.and(
11-
"match",
12-
/Search the web without being tracked|Search without being tracked/,
13-
);
10+
.and("match", /Search without being tracked|Search privately/);
1411
});

examples/esbuild-esm/cypress/e2e/duckduckgo.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ When("I visit duckduckgo.com", () => {
77
Then("I should see a search bar", () => {
88
cy.get("input[type=text]")
99
.should("have.attr", "placeholder")
10-
.and(
11-
"match",
12-
/Search the web without being tracked|Search without being tracked/,
13-
);
10+
.and("match", /Search without being tracked|Search privately/);
1411
});

examples/esbuild-ts/cypress/e2e/duckduckgo.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ When("I visit duckduckgo.com", () => {
77
Then("I should see a search bar", () => {
88
cy.get("input[type=text]")
99
.should("have.attr", "placeholder")
10-
.and(
11-
"match",
12-
/Search the web without being tracked|Search without being tracked/,
13-
);
10+
.and("match", /Search without being tracked|Search privately/);
1411
});

examples/type-module/cypress/e2e/duckduckgo.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ When("I visit duckduckgo.com", () => {
77
Then("I should see a search bar", () => {
88
cy.get("input[type=text]")
99
.should("have.attr", "placeholder")
10-
.and(
11-
"match",
12-
/Search the web without being tracked|Search without being tracked/,
13-
);
10+
.and("match", /Search without being tracked|Search privately/);
1411
});

examples/webpack-cjs/cypress/e2e/duckduckgo.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ When("I visit duckduckgo.com", () => {
77
Then("I should see a search bar", () => {
88
cy.get("input[type=text]")
99
.should("have.attr", "placeholder")
10-
.and(
11-
"match",
12-
/Search the web without being tracked|Search without being tracked/,
13-
);
10+
.and("match", /Search without being tracked|Search privately/);
1411
});

0 commit comments

Comments
 (0)