Skip to content

docs(intro-section): fix links#17241

Merged
debs-obrien merged 3 commits into
microsoft:mainfrom
Nav-2d:docs/intro-section
Sep 12, 2022
Merged

docs(intro-section): fix links#17241
debs-obrien merged 3 commits into
microsoft:mainfrom
Nav-2d:docs/intro-section

Conversation

@Nav-2d
Copy link
Copy Markdown

@Nav-2d Nav-2d commented Sep 11, 2022

Fix the link to getting started sections.

cc - @debs-obrien

Comment thread docs/src/test-reporters-js.md Outdated
```js tab=js-ts
// playwright.config.ts
import type { PlaywrightTestConfig } from '@playwright/test';
import type { PlaywrightTestConfig } from "@playwright/test";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a lot of formatting in this PR, but I think most of it does not fit Playwright coding conventions. The codebase and most of the examples are using single quotes, for example.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching it. My formatter had different settings. Fixed the docs.

Comment thread docs/src/test-reporters-js.md Outdated
test("embed attachments, including its content, on the JUnit report", async ({}, testInfo) => {
const file = testInfo.outputPath("evidence1.txt");
require("fs").writeFileSync(file, "hello", "utf8");
await testInfo.attach("evidence1.txt", {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the more compact code style that was originally used is better for docs ? 🤔

await testInfo.attach('evidence1.txt', { path: file, contentType: 'text/plain' });

@debs-obrien
Copy link
Copy Markdown
Contributor

Great work guys. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants