bcgov / bcgov/SIMS

Automated testing first effort

Open
#4,195 1 comment 0 reactions 1 assignee Claimed by @Joshua-Lakusta View on GitHub
E2E/Unit tests User Story
Dominant language
TypeScript
Stars
29
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Select a framework to use for automated testing and proof of concept.

**Acceptance Criteria**

- [ ] General Analysis for automated testing and creating proof of concept (playwrightrecommended)
- [ ] Run locally an automated test
- [ ] Use first test listed here for proof of concept (First time login for BCSC and profile completition)
image.png

**Additional context**
- this is a proof of concept first effort with the hope to expand to the use of a new framework and potential QA environment in the future

**Technical**
- [ ] Create a POC using `playwright` as a preferred option.
- [ ] Create the POC to be expected locally using the local docker containers.
- [ ] Start the folder structure layouts and file structures following the known patterns in place (look into `playwright` documents).
- [ ] The code has some `data-cy` HTML attributes that should be replaced by some equivalent and generic with the intention to easily find the components and have them mapped to allow interaction.
- [ ] The first goal for the POC is to have a student BCSC user authenticated and able to reach the dashboard.
- [ ] Allow the test to be executed with a make command to make it easier to execute from the CI/CD later, following the same approach from the other CI/CD processes.
- [ ] Keep the DEV Team updated with a few syncups along the POC.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.