Skip to content

Conversation

jenafree
Copy link

This PR adds a Quickstart Guide for running Playwright automation samples in Dynamics 365 Customer Service, as well as an improved root README.md for better project onboarding.

Changes
Customer Service/Testing/Automation/Playwright/Samples/README.md

Added prerequisites, setup steps, and execution instructions for Playwright automation samples.

Included notes about parameterizing fixtures/variables for tenant-specific execution in CI.

Root README.md

Added fork description, study objectives, and PR tracking link.

Clarified repository structure and entry points for Playwright samples.

Motivation
Provide clear and concise onboarding for new contributors and recruiters reviewing the fork.

Facilitate running Playwright samples in different tenant environments with minimal setup time.

Testing
Verified steps with Node.js 18 and Node.js 20 environments.

Successfully ran all Playwright tests in a Dynamics 365 Customer Service sandbox tenant.

@scott-tucker
Copy link
Contributor

@dtu11, can you review this persons submissions. Note the readme text was added only in Portuguese and the total changes across the two pull requests don't seem be complete.

@scott-tucker scott-tucker requested a review from Copilot August 20, 2025 16:54
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to add comprehensive quickstart documentation for Playwright automation samples in Dynamics 365 Customer Service and improve the overall repository onboarding experience.

  • Add a quickstart guide with prerequisites, setup steps, and execution instructions for Playwright samples
  • Improve root README.md with fork description, study objectives, and clearer project structure
  • Provide guidance for tenant-specific parameterization for CI environments

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@@ -0,0 +1 @@
Dica: parametrizar fixtures/vari�veis para seu tenant antes de rodar em CI.
Copy link

Copilot AI Aug 20, 2025

Choose a reason for hiding this comment

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

The text contains character encoding issues. The word 'variáveis' is corrupted as 'vari�veis'. This should be corrected to proper UTF-8 encoding or written in English for consistency.

Suggested change
Dica: parametrizar fixtures/vari�veis para seu tenant antes de rodar em CI.
Dica: parametrizar fixtures/variáveis para seu tenant antes de rodar em CI.

Copilot uses AI. Check for mistakes.

@@ -0,0 +1 @@
Dica: parametrizar fixtures/vari�veis para seu tenant antes de rodar em CI.
Copy link

Copilot AI Aug 20, 2025

Choose a reason for hiding this comment

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

The documentation appears incomplete. According to the PR description, this should be a comprehensive quickstart guide with prerequisites, setup steps, and execution instructions, but only contains a single Portuguese tip. The complete documentation described in the PR is missing.

Suggested change
Dica: parametrizar fixtures/vari�veis para seu tenant antes de rodar em CI.
# Playwright Samples - Quickstart Guide
This guide will help you get started with the Playwright sample tests for Customer Service automation.
## Prerequisites
- [Node.js](https://nodejs.org/) (version 14 or higher recommended)
- [npm](https://www.npmjs.com/) (comes with Node.js)
- [Git](https://git-scm.com/) (to clone the repository)
## Setup
1. **Clone the repository:**
```sh
git clone <REPO_URL>
cd Customer Service/Testing/Automation/Playwright/Samples
  1. Install dependencies:

    npm install
  2. Configure environment variables and fixtures:

    • Update any required configuration files (e.g., .env, playwright.config.js, or fixture files) with your tenant-specific variables.
    • Make sure to parametrize fixtures/variables for your tenant before running in CI.

Running the Tests

To execute all Playwright tests, run:

npx playwright test

To run a specific test file:

npx playwright test path/to/your/test.spec.ts

Additional Tips

  • Dica: Parametrize fixtures/variáveis para seu tenant antes de rodar em CI.
  • For more information on Playwright, see the official documentation.

Troubleshooting

  • If you encounter issues with browser downloads, run npx playwright install.
  • Ensure all environment variables are set correctly for your tenant.

Happy Testing!

Copilot uses AI. Check for mistakes.

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