Resources & Tools - JU-DEV-Bootcamps/ERAS GitHub Wiki
This page is the central hub for all essential links, tools, and systems used by the QE team.
These are the environments where you will test and validate features.
| Environment | URL | Purpose | Notes |
|---|---|---|---|
| Dev | [Development] | Used by developers for initial testing | No certifications applied needed |
| Staging | [EC2] | Pre-production environment | Used for release validation |
| Production | [Production] | Live system | Certifications applied might be needed |
The application integrates with Cosmic Latte external service, a third-party service provider embedded into the application.
- Service URL: Comic Late environment
- Credentials: Registration process should be completed and Technical lead should grant access to obtain verification code
π Access & Credentials
- Access is managed via: [360 ID for Production and EC2 and via registration for Development environment]
- Credentials should never be shared publicly
QE Responsibilities
- Validate correct integration with Cosmic Latte
- Verify environment-specific configurations
- Test error handling and fallback scenarios
- Confirm data consistency between systems
These tools are used to track work, bugs, and sprint progress.
- Board: Miro board
- Sprint Board: GitHub Project Board
π Usage
- Track user stories and bugs
- Update ticket status
- Add comments and evidences during ticket testing
Figma is used as the source of truth for UI/UX designs and mockups.
- Prototypes: Figma link
π How QE Uses Figma
- Validate UI against designs
- Check spacing, alignment, and visual consistency
- Review expected behaviors (hover states, transitions, etc.)
- Clarify requirements when acceptance criteria are unclear
- Always compare implemented UI with the latest design version
- Confirm with Product/Design if discrepancies are found
- Pay attention to responsive behavior (if defined)
This is where test cases are created, maintained, and executed.
Tool: Test Link
π When to Use
- Create new test cases
- Update existing ones
- Execute test cycles for build versions
- Prepare and execute Regression tesitng
Used for backend validation and integration testing.
Swagger / API Docs: Swagger Postman Collection: Internal Documentation:
π When to Use
- Validate API responses for backend tickets
- Test edge cases
- Understand request/response structure
Access to repositories and version control.
- Main Repository: [JU-DEV-Bootcamps/ERAS] https://github.com/JU-DEV-Bootcamps/ERAS
- Front End Repository: JU-DEV-Bootcamps/ERAS-FE
- Backend Repository: JU-DEV-Bootcamps/ERAS-BE
Tools used for builds, deployments, and pipelines.
CI/CD Tool: GitHub Actions
π QE Responsibilities
- Monitor deployments
- Validate successful builds
- Perform smoke testing after deployment
- Monitoring & Logs (Optional but Recommended)
- Missing permissions β Contact [team/channel]
- Expired credentials β Reset via [system]
This is a quick guide on how to setup and use vscode for automating test cases on the project.
Playwright is an open-source automation library developed by Microsoft that lets you control Chromium, Firefox, and WebKit using a single API. It features built-in auto-waiting so you do not have to write manual delays.
Core Playwright Features
Auto-Waiting: Waits for elements to be visible and actionable before clicking or typing. Eliminates flaky test errors caused by slow-loading elements.
Browser Contexts: Creates isolated, incognito-like sessions within a single browser instance. Allows parallel multi-user testing without heavy resource overhead.
Trace Viewer: Captures DOM snapshots, network logs, and action screenshots on failure. Makes debugging failed automation runs fast and visual.
Cross-Browser: Supports Chromium, Firefox, and WebKit natively from one script. Ensures your web workflows function identically across rendering engines.
This guide provides a complete, step-by-step walkthrough to install, configure, and execute automated tests using Playwright. No programming knowledge is required, as we will utilize automated recording tools to generate test scripts while bypassing mobile MFA and corporate VPN restrictions.
Click to expand security details & prerequisites
Before starting, please note our corporate security compliance:
- NDA Compliance: Playwright runs 100% locally on your machine. It does not upload screenshots, videos, or network data to external cloud servers.
- VPN Requirement: You must remain connected to the company VPN since the target platform resides within an internal network environment.
- Data Best Practices: During text recording, never input real customer names, production credentials, or real credit card numbers. Use fictitious test data.
- Node.js: Download and install the LTS version from nodejs.org. (Accept all default setup selections).
- Visual Studio Code (VS Code): Download and install the editor from ://visualstudio.com.
Click to expand initialization commands
Follow these steps to create your working directory and install the Playwright automation framework:
- Open your computer's Command Prompt (ensure you use Command Prompt and NOT PowerShell to avoid Windows security blocks).
- Create a new directory and navigate inside it by running:
mkdir mi-proyecto-automation cd mi-proyecto-automation - Initialize the official Playwright package:
npm init playwright@latest
- Respond by pressing the Enter key for every question to accept the recommended default parameters (This configures TypeScript and automatically downloads the browser binaries).
- Launch VS Code, go to the top menu, select File > Open Folder, and open your
mi-proyecto-automationfolder. - Go to the Extensions icon (four square blocks on the left sidebar), search for
Playwright Test(developed by Microsoft), and click Install.
Click to expand session saving steps
To record and run tests without typing your password or completing the mobile MFA every single time, we must generate a local file named auth.json to store your secure session tokens:
- Open a new terminal in VS Code (Terminal > New Terminal) and ensure it is set to Command Prompt.
- Run this exact command to launch a browser that ignores security certificates and tracks your login details:
npx playwright codegen --ignore-https-errors --save-storage=auth.json "https://10.24.80" - Log in manually with your corporate email, password, and approve the MFA on your phone.
- Once you reach the main dashboard, wait 10 seconds and click on any menu to ensure the cookies bind to the IP address.
-
The Birth of auth.json: Now, close the browser window. The recording process will end, and a brand-new file named
auth.jsonwill automatically appear inside your project folder root. This file contains your encrypted temporary session keys.
Click to expand config and shortcut parameters
To enable smooth recording and execution, we must declare our persistent parameters in two internal files:
- Open
playwright.config.ts, locate theuse: {block, and add these lines:use: { ignoreHTTPSErrors: true, storageState: 'auth.json', baseURL: 'https://10.24.80', trace: 'on-first-retry', },
- Open
package.json, locate the"scripts": {block, and add our recording shortcut command:"scripts": { "grabar": "npx playwright codegen --ignore-https-errors --load-storage=auth.json \"https://10.24.80\"" },
- Save all changes (
Ctrl + S) and restart Visual Studio Code.
Click to expand recording and manual file creation workflow
Corporate firewalls block blank screen initializations from graphical extensions. Always use our tailored command line shortcut to record already logged-in sessions instantly. Since it runs in recording mode, you will need to manually save the code generated at the end:
- Open your terminal in VS Code (Command Prompt) and execute:
npm run grabar
- The browser will open already logged into the dashboard, bypassing the MFA login completely.
- Perform your test scenario actions normally (e.g., clicking on school students, opening profiles).
- When finished, do not just close the browser. Look at the gray window called Playwright Inspector.
- In the top right corner of the gray window, click the Copy (clipboard) button. This saves your newly recorded test code. Now you can safely close the browser.
-
Creating the New File: Go to VS Code, right-click the
testsfolder on the left sidebar, and select New File. - Name your file using lowercase and hyphens, ending strictly with
.spec.ts(e.g.,student-verification.spec.ts). - Open the new blank file, paste the copied code using
Ctrl + V, and save it usingCtrl + S.
Click to expand test playback guidelines
Once your script file is saved inside the tests folder, you can trigger Playwright to visually replicate the sequence at any time without terminal commands:
- Click the Testing icon (laboratory flask) on the left sidebar of VS Code.
- Watch the execution visually: Ensure the Show browser checkbox is enabled in the lower-left Tools panel.
- Find your test file in the list and click the green Play (βΆ) button located next to its name.
- Playwright will launch the browser, automatically inject the
auth.jsoncookies, and replicate your entire workflow autonomously in seconds, marking it with a green checkmark (β) upon success.
- β Keep this page updated when tools or URLs change
- β Do not share sensitive credentials in the wiki
- β Validate access during your first days
π‘ If you notice missing or outdated links, please update this page or notify the owner.