Skip to content

Commit

Permalink
add link to puppeteer docs
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Mar 13, 2024
1 parent 4635058 commit 82ee16b
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 14 deletions.
2 changes: 2 additions & 0 deletions docs/testing/stencil-testrunner/05-e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Use `page.$eval` (part of the Puppeteer API) to set props or otherwise manipulate a component:
Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v3/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.0/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.1/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.10/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.11/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.12/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.2/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.3/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.4/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.5/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.6/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.7/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.8/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down
3 changes: 2 additions & 1 deletion versioned_docs/version-v4.9/testing/e2e-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const otherShadowElement = await page.find('my-component >>> div > my-other-comp
const divElement = await page.find('my-component >>> div');
const otherShadowElement = await divElement.find('my-other-component >>> h3');
```
:::

Find more information about this selector type for Puppeteer in their [project docs](https://pptr.dev/guides/query-selectors#-and--combinators).

### Set a @Prop() on a component

Expand Down

0 comments on commit 82ee16b

Please sign in to comment.