https://github.com/ghaziengineer/learnaqa_cypress
https://www.learnaqa.info/
https://github.com/ghaziengineer/learnaqa_cypress
Last synced: 2 months ago
JSON representation
https://www.learnaqa.info/
- Host: GitHub
- URL: https://github.com/ghaziengineer/learnaqa_cypress
- Owner: ghaziengineer
- Created: 2025-11-07T20:00:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-11-30T20:51:49.000Z (7 months ago)
- Last Synced: 2025-12-03T06:20:42.793Z (7 months ago)
- Language: JavaScript
- Size: 130 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎯LearnaQa Platform – UI & E2E Tests with Cypress, JavaScript & Cucumber
## Overview 📝
This project contains **end-to-end (E2E)** 🚀 and **UI 🎨 automation tests** for the **Learna QA Automation Platform** 🌐https://www.learnaqa.info/
It is designed to help practice **real-world automation scenarios** 🧪
**The tests are built with:**
- ⚡ **Cypress** – Fast and reliable end-to-end testing framework
- 🧩 **Cucumber (Gherkin)** – Behavior-driven testing for readable scenarios
- 💻 **JavaScript** – Programming language for automation logic
## Project Structure 📂
```
.
├───.github
│ └───workflows
├───cypress
│ ├───e2e
│ │ └───features
│ │ ├───homepage.feautre
│ │ ├───logout.feautre
│ │ ├───dragAndDrop.feautre
│ │ ├───fileOperations.feautre
│ │ ├───footerLinks.feautre
│ │ ├───dynamicElements.feautre
│ │ └───signin.feautre
│ ├───fixtures
│ │ ├───template_data.xlsx
│ │ └───testData.json
│ ├───screenshots
│ └───support
│ │ ├───e2e.js
│ │ └───pages
│ │ ├───HomePage.js
│ │ ├───FooterPage.js
│ │ ├───FileOperationsPage.js
│ │ ├───DynamicElements.js
│ │ ├───DragAndDropPage.js
│ │ └───SignInPage.js
│ │ └───step_definitions
│ │ ├───commonSteps.js
│ │ ├───dragAndDropSteps.js
│ │ ├───dynamicElementsSteps.js
│ │ ├───footerLinksSteps.js
│ │ ├───fileOperationsSteps.js
│ │ ├───homepageSteps.js
│ │ └───signinSteps.js
├───cypress.config.js
├───package.json
├───.gitignore
└── README.md
```
## Getting Started 🚀
**1.** Clone the repository:
```bash
git clone https://github.com/ghaziengineer/learnqa_cypress.git
```
**2.** Install dependencies:
```bash
npm install
```
**3.** Run tests:
```bash
npx cypress open
```
## ⚠️ Important Notes
- ⚙️ **Environment Setup** – Ensure Node.js and Cypress are properly installed before running any test.
- 🗂️ **Test Data Setup** – Before running tests, copy the file cypress/fixtures/testData.template.json 👉 rename it to testData.json, and fill it with your actual credentials.
- 🏷️ **Tag Management** – Use tags (like @ui, @e2e, @valid etc...) 👉 to easily filter and run specific scenarios with commands such as:
```bash
npx cypress run --env tags='@ui'
```
