Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2f8c667
feat(self-evaluation): add attribute and methods to manage self-evalu…
PauloV1 Nov 16, 2025
a8506ac
feat(self-evaluation): extend updateClass to merge self-evaluations
PauloV1 Nov 16, 2025
68aee91
feat(self-evaluation): add methods to merge evaluations and self-eval…
PauloV1 Nov 16, 2025
2c1dae6
refactor(enrollment): move evaluations merge logic into Enrollment an…
PauloV1 Nov 16, 2025
afdf804
feat(self-evaluation): load selfEvaluations from file and add PUT end…
PauloV1 Nov 16, 2025
25d080a
feat(self-evaluation): add frontend for self-evaluation feature
PauloV1 Nov 30, 2025
b55765c
feat(discrepancy): add InfoButton
4POL07 Nov 16, 2025
22d77b9
Merge remote-tracking branch 'paulo/dev' into discrepancy
4POL07 Nov 30, 2025
f6d1609
fix(InfoButton): Garante que o conteúdo não fique atrás das células d…
4POL07 Nov 30, 2025
6eef0ff
feat(self-evaluation): Implement a comparison logic between evaluatio…
4POL07 Nov 30, 2025
354e5e9
feat(self-evaluation): Add function to check discrepancy percentage
4POL07 Nov 30, 2025
87066c4
feat(self-evaluation): Add highlighting to discrepant goals in the se…
4POL07 Nov 30, 2025
dcda53d
feat(self-evaluation): Add highlighting to discrepant self-evaluation…
4POL07 Nov 30, 2025
4519bbe
feat(discrepancy): Add the features 'Discrepancy Visualization' and '…
4POL07 Dec 8, 2025
ffd3799
feat(discrepancy): Add the GUI tests.
4POL07 Dec 8, 2025
d596a8c
feat(discrepancy): Add the service tests
4POL07 Dec 8, 2025
357a6e9
Merge branch 'dev' with selfEvaluation feature into main
PauloV1 Dec 8, 2025
a55ea2d
test(self-evaluation): add GUI and service tests
PauloV1 Dec 9, 2025
d5e9320
chore: update dependencies in package.json and package-lock.json
PauloV1 Dec 9, 2025
bb43338
refactor(discrepancy): Syntax adjustment in the description of the se…
4POL07 Dec 9, 2025
d99d1ec
test: Add GUI tests
4POL07 Dec 9, 2025
9bab56e
test: Add service/functionality tests
4POL07 Dec 9, 2025
dc89600
Merge pull request #2 from 4POL07/discrepancy
4POL07 Dec 10, 2025
089e28c
Merge branch 'main' of https://github.com/PauloV1/teaching-assistant-…
4POL07 Dec 10, 2025
d0657c1
Merge pull request #1 from 4POL07/main
PauloV1 Dec 10, 2025
6f4fcfa
refactor(self-evaluations): restructure Gherkin scenarios and improve…
PauloV1 Dec 10, 2025
ea58fae
Merge branch 'dev'
PauloV1 Dec 10, 2025
7c7f453
configurações
4POL07 Dec 10, 2025
375d704
Merge pull request #2 from 4POL07/main
PauloV1 Dec 10, 2025
ca5ebf9
resolvido conflito de testes
Dec 10, 2025
5300748
test: add fullscreen mode and auto-scroll to self-evaluation tests
Dec 10, 2025
454f7e9
test(self-evaluation): add unit tests for selfEvaluation feature
PauloV1 Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions client/CUCUMBER_TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,57 @@ This project uses Cucumber for behavior-driven development (BDD) testing with Ty

### Method 1: Using the Test Runner Script (Recommended)

#### Headless Mode (default - no browser window)
```bash
# From the client directory
./run-cucumber-tests.sh
```

#### Headed Mode (watch tests execute in browser)
```bash
# Normal speed (10ms delay - recommended)
./run-cucumber-tests.sh --headed
# or
./run-cucumber-tests.sh -h

# Fast mode (no delay)
./run-cucumber-tests.sh --headed fast
# or
./run-cucumber-tests.sh --headed-fast
./run-cucumber-tests.sh -hf

# Slow mode (50ms delay - better for demos)
./run-cucumber-tests.sh --headed slow
# or
./run-cucumber-tests.sh --headed-slow
./run-cucumber-tests.sh -hs
```

This script will:
- Check if both server and client are running
- Run all Cucumber tests
- Generate HTML and JSON reports

### Method 2: Manual Execution

#### Headless Mode
```bash
# From the client directory
npm run test:cucumber
```

#### Headed Mode (visible browser)
```bash
# Normal speed (10ms delay)
npm run test:cucumber:headed

# Fast mode (no delay)
npm run test:cucumber:headed:fast

# Slow mode (50ms delay - for demos)
npm run test:cucumber:headed:slow
```

### Method 3: Watch Mode (for development)

```bash
Expand Down
2 changes: 1 addition & 1 deletion client/cucumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
formatOptions: {
snippetInterface: 'async-await'
},
paths: ['src/features/**/*.feature'],
paths: ['src/features/selfEvaluation.feature'],
requireModule: ['ts-node/register']
}
};
Loading