Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from microsoft:main #57

Merged
merged 31 commits into from
Aug 19, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 17, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@restack-app
Copy link

restack-app bot commented Aug 17, 2023

No applications have been configured for previews targeting branch: main. To do so go to restack console and configure your applications for previews.

@commit-lint
Copy link

commit-lint bot commented Aug 17, 2023

Documentation

Chore

Features

Bug Fixes

Devops

Tests

Contributors

yury-s, jfgreffier, pavelfeldman, mxschmitt, ggorlen, mastrzyz, JonahKK, vigneshshanmugam, uchagani

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@pr-code-reviewer
Copy link

pr-code-reviewer bot commented Aug 17, 2023

👋 Hi there!

  1. Remove the 'connection_string' input and related code since it is no longer needed.
  2. Modify the 'description' of the action to accurately reflect its purpose, which is uploading a blob report to GitHub artifacts for pull requests.
  3. Adjust the condition for the step "Upload blob report to GitHub" to ensure it runs only on push events, removing the incomplete condition that got cut off in the given code-diff.


Automatically generated with the help of gpt-3.5-turbo.
Feedback? Please don't hesitate to drop me an email at [email protected].

@instapr
Copy link

instapr bot commented Aug 17, 2023

  • Please provide more specific details in the PR body about the commits and changes made.
  • Consider removing the promotional message at the end of the PR body to keep it focused on the technical changes.

@pull pull bot added the ⤵️ pull label Aug 17, 2023
@pr-explainer-bot
Copy link

Pull Request Review

Hey there! 👋 I've summarized the previous results for you. Here's a markdown document for your pull request review:

Changes

  1. Removed the entire tests_grid.yml file.
  2. Updated the class-reporter.md file by correcting a typo in the description.
  3. Updated the test-reporters-js.md file by adding information about the PW_TEST_HTML_REPORT_OPEN environmental variable.
  4. Updated the test-runners-java.md file by adding a Gradle build configuration script example.
  5. Updated the test-sharding-js.md file by adding an image and instructions for ensuring execution order.
  6. Updated the package.json file by updating the versions of the @typescript-eslint/eslint-plugin and @typescript-eslint/parser packages.
  7. Updated the links.tsx file by adding a function to generate a download file name for attachments.
  8. Updated the browsers.json file by updating the webkit revision.
  9. Updated the browserContext.ts file by adding support for the acceptDownloads option.
  10. Updated the electron.ts file by adding support for the acceptDownloads option.
  11. Removed the entire playwright-grid directory.

Suggestions

  1. In the test-reporters-js.md file, suggest adding more information about the open property in the Playwright config.
  2. In the test-sharding-js.md file, suggest adding more information about the Azure Storage static websites hosting capabilities.

Bugs

  1. The class-reporter.md file may have a potential bug in the description.

Improvements

  1. In the BrowserType class, the launchApp method could be refactored for better readability. Here's an improved version of the method:
async launchApp(options: {
  sdkLanguage: string,
  windowSize: types.Size,
  windowPosition?: types.Point,
  persistentContextOptions?: Parameters<BrowserType['launchPersistentContext']>[2];
}) {
  const args = [...options.persistentContextOptions?.args ?? []];

  if (this._name === 'chromium') {
    args.push(
      '--app=data:text/html,',
      `--window-size=${options.windowSize.width},${options.windowSize.height}`,
      ...(options.windowPosition ? [`--window-position=${options.windowPosition.x},${options.windowPosition.y}`] : []),
      '--test-type=',
    );
  }
  // Rest of the method...
}

Rating

Rate the code from 0 to 10 based on the following criteria: readability, performance, security. Explain briefly.

Feel free to make any necessary changes or additions to this markdown document. Good luck with your pull request review! 🚀

jfgreffier and others added 10 commits August 17, 2023 08:53
Display `npx playwright`, `yarn playwright` or `pnpm exec playwright` in
CLI

Fixes #21425
+ fix #24466
+ Adds support for exposing the `pageerror` events via `browserContext`
API.
+ Helps with capturing the overall exceptions that are thrown outside of
the the current page and also captures the exceptions happens on other
windows/popups.
+ Keeps the API in sync with `context.on('request)',
context.on('console'), etc..`
This PR adds the `SoftAssertions` API for Java. Related PR:
microsoft/playwright-java#1340

Note: microsoft/playwright.dev#1135 needs to be
merged in order for the markdown in this PR to be rendered without
errors
@ammar-ahmed-butt ammar-ahmed-butt merged commit 8c82d7c into ammar-knowledge:main Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants