Skip to content

Commit 8db2753

Browse files
committed
fix(urls): replace wdio urls with testplane.io
1 parent 2080560 commit 8db2753

File tree

6 files changed

+36
-36
lines changed

6 files changed

+36
-36
lines changed

docs/commands/expect/browser-matchers.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Checks if the browser is on the specified page.
77
For example:
88

99
```javascript
10-
await browser.url("https://webdriver.io/");
11-
await expect(browser).toHaveUrl("https://webdriver.io");
10+
await browser.url("https://testplane.io/");
11+
await expect(browser).toHaveUrl("https://testplane.io");
1212
```
1313

1414
## toHaveUrlContaining
@@ -18,8 +18,8 @@ Checks if the specified substring is contained in the URL of the page the browse
1818
For example:
1919

2020
```javascript
21-
await browser.url("https://webdriver.io/");
22-
await expect(browser).toHaveUrlContaining("webdriver");
21+
await browser.url("https://testplane.io/");
22+
await expect(browser).toHaveUrlContaining("testplane");
2323
```
2424

2525
## toHaveTitle
@@ -29,9 +29,9 @@ Checks if the website has the specified title.
2929
For example:
3030

3131
```javascript
32-
await browser.url("https://webdriver.io/");
32+
await browser.url("https://testplane.io/");
3333
await expect(browser).toHaveTitle(
34-
"WebdriverIO · Next-gen browser and mobile automation test framework for Node.js",
34+
"Fast, scalable and robust end-to-end web testing solution | Testplane",
3535
);
3636
```
3737

@@ -42,8 +42,8 @@ Checks if the specified substring is contained in the website's title.
4242
For example:
4343

4444
```javascript
45-
await browser.url("https://webdriver.io/");
46-
await expect(browser).toHaveTitleContaining("WebdriverIO");
45+
await browser.url("https://testplane.io/");
46+
await expect(browser).toHaveTitleContaining("Testplane");
4747
```
4848

4949
## References

docs/commands/expect/element-matchers.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,11 @@ It can also be called with an array as a parameter in case the element can have
278278
For example:
279279

280280
```javascript
281-
await browser.url("https://webdriver.io/");
281+
await browser.url("https://testplane.io/");
282282
const elem = await browser.$(".container");
283-
await expect(elem).toHaveText("Next-gen browser and mobile automation test framework for Node.js");
283+
await expect(elem).toHaveText("Fast, scalable and robust end-to-end web testing solution | Testplane");
284284
await expect(elem).toHaveText([
285-
"Next-gen browser and mobile automation test framework for Node.js",
285+
"Fast, scalable and robust end-to-end web testing solution | Testplane",
286286
"Get Started",
287287
]);
288288
```
@@ -296,12 +296,12 @@ It can also be called with an array as a parameter in case the element can have
296296
For example:
297297

298298
```javascript
299-
await browser.url("https://webdriver.io/");
300-
const elem = await browser.$(".container");
301-
await expect(elem).toHaveTextContaining("browser and mobile automation test framework");
299+
await browser.url("https://testplane.io/");
300+
const elem = await browser.$("h1");
301+
await expect(elem).toHaveTextContaining("ultimate solution for end-to-end testing");
302302
await expect(elem).toHaveTextContaining([
303-
"browser and mobile automation test framework",
304-
"Started",
303+
"ultimate solution for end-to-end testing",
304+
"battle-hardened framework for creating tests at any scale, any browser, any platform",
305305
]);
306306
```
307307

docs/commands/expect/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ When writing tests, it's often necessary to ensure that values meet certain crit
1111
For example, you can check if the browser is on a specific page
1212

1313
```typescript
14-
await browser.url("https://webdriver.io/");
14+
await browser.url("https://testplane.io/");
1515
// ...
16-
await expect(browser).toHaveUrl("https://webdriver.io");
16+
await expect(browser).toHaveUrl("https://testplane.io");
1717
```
1818

1919
or check if the element has an attribute with the specified value

i18n/ru/docusaurus-plugin-content-docs/current/commands/expect/browser-matchers.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
Например:
88

99
```javascript
10-
await browser.url("https://webdriver.io/");
11-
await expect(browser).toHaveUrl("https://webdriver.io");
10+
await browser.url("https://testplane.io/");
11+
await expect(browser).toHaveUrl("https://testplane.io");
1212
```
1313

1414
## toHaveUrlContaining
@@ -18,8 +18,8 @@ await expect(browser).toHaveUrl("https://webdriver.io");
1818
Например:
1919

2020
```javascript
21-
await browser.url("https://webdriver.io/");
22-
await expect(browser).toHaveUrlContaining("webdriver");
21+
await browser.url("https://testplane.io/");
22+
await expect(browser).toHaveUrlContaining("testplane");
2323
```
2424

2525
## toHaveTitle
@@ -29,9 +29,9 @@ await expect(browser).toHaveUrlContaining("webdriver");
2929
Например:
3030

3131
```javascript
32-
await browser.url("https://webdriver.io/");
32+
await browser.url("https://testplane.io/");
3333
await expect(browser).toHaveTitle(
34-
"WebdriverIO · Next-gen browser and mobile automation test framework for Node.js",
34+
"Fast, scalable and robust end-to-end web testing solution | Testplane",
3535
);
3636
```
3737

@@ -42,6 +42,6 @@ await expect(browser).toHaveTitle(
4242
Например:
4343

4444
```javascript
45-
await browser.url("https://webdriver.io/");
46-
await expect(browser).toHaveTitleContaining("WebdriverIO");
45+
await browser.url("https://testplane.io/");
46+
await expect(browser).toHaveTitleContaining("Testplane");
4747
```

i18n/ru/docusaurus-plugin-content-docs/current/commands/expect/element-matchers.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,11 @@ await expect(elem).toHaveId("elem");
278278
Например:
279279

280280
```javascript
281-
await browser.url("https://webdriver.io/");
281+
await browser.url("https://testplane.io/");
282282
const elem = await browser.$(".container");
283-
await expect(elem).toHaveText("Next-gen browser and mobile automation test framework for Node.js");
283+
await expect(elem).toHaveText("Fast, scalable and robust end-to-end web testing solution | Testplane");
284284
await expect(elem).toHaveText([
285-
"Next-gen browser and mobile automation test framework for Node.js",
285+
"Fast, scalable and robust end-to-end web testing solution | Testplane",
286286
"Get Started",
287287
]);
288288
```
@@ -296,12 +296,12 @@ await expect(elem).toHaveText([
296296
Например:
297297

298298
```javascript
299-
await browser.url("https://webdriver.io/");
300-
const elem = await browser.$(".container");
301-
await expect(elem).toHaveTextContaining("browser and mobile automation test framework");
299+
await browser.url("https://testplane.io/");
300+
const elem = await browser.$("h1");
301+
await expect(elem).toHaveTextContaining("ultimate solution for end-to-end testing");
302302
await expect(elem).toHaveTextContaining([
303-
"browser and mobile automation test framework",
304-
"Started",
303+
"ultimate solution for end-to-end testing",
304+
"battle-hardened framework for creating tests at any scale, any browser, any platform",
305305
]);
306306
```
307307

i18n/ru/docusaurus-plugin-content-docs/current/commands/expect/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ sidebar_class_name: hidden
1111
Например, можно проверить находится ли браузер на заданной странице
1212

1313
```typescript
14-
await browser.url("https://webdriver.io/");
14+
await browser.url("https://testplane.io/");
1515
// ...
16-
await expect(browser).toHaveUrl("https://webdriver.io");
16+
await expect(browser).toHaveUrl("https://testplane.io");
1717
```
1818

1919
или проверить есть ли у элемента атрибут с заданным значением

0 commit comments

Comments
 (0)