Skip to content

Commit

Permalink
Merge pull request #187 from joshzcold/refactor/e2e-v3
Browse files Browse the repository at this point in the history
Refactor e2e part 3
  • Loading branch information
joshzcold authored Feb 2, 2025
2 parents 47bfbc3 + d17fcb9 commit 85e964f
Show file tree
Hide file tree
Showing 12 changed files with 536 additions and 258 deletions.
2 changes: 1 addition & 1 deletion e2e/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = defineConfig({
/* 60s timeout (initial build takes 60s) */
timeout: 60000,
/* Run tests in files in parallel */
fullyParallel: false,
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
Expand Down
262 changes: 262 additions & 0 deletions e2e/static/quick_game.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
{
"rounds": [
{
"answers": [
{
"ans": "TV/Movies",
"pnt": 66
},
{
"ans": "Pets/Animals",
"pnt": 12
},
{
"ans": "Sports",
"pnt": 12
},
{
"ans": "Kids",
"pnt": 8
}
],
"multiply": 1,
"question": "Name Something That People Could Watch For Hours."
},
{
"answers": [
{
"ans": "By Mistake",
"pnt": 32
},
{
"ans": "For Wife",
"pnt": 31
},
{
"ans": "Asleep",
"pnt": 25
},
{
"ans": "Hot Actress",
"pnt": 8
}
],
"multiply": 1,
"question": "Tell Me An Excuse That A Tough Guy Might Give If He Were Caught Watching A Soap Opera"
},
{
"answers": [
{
"ans": "Fish ",
"pnt": 41
},
{
"ans": "Otter ",
"pnt": 27
},
{
"ans": "Crocodile ",
"pnt": 17
},
{
"ans": "Frog ",
"pnt": 11
},
{
"ans": "Newt ",
"pnt": 7
}
],
"multiply": 1,
"question": "Name An Animal That Lives In A River"
},
{
"answers": [
{
"ans": "Couch",
"pnt": 59
},
{
"ans": "Lounge Chair",
"pnt": 16
},
{
"ans": "Bed",
"pnt": 7
},
{
"ans": "Table",
"pnt": 6
}
],
"multiply": 2,
"question": "Name A Piece Of furniture That’s Too big To Fit In A VW Bug"
},
{
"answers": [
{
"ans": "Your Windows",
"pnt": 24
},
{
"ans": "Your Diary/Journal",
"pnt": 20
},
{
"ans": "Medicine Cabinet/Closet",
"pnt": 19
},
{
"ans": "Your Purse",
"pnt": 15
},
{
"ans": "Your Mail",
"pnt": 11
},
{
"ans": "Cell Phone Records",
"pnt": 4
},
{
"ans": "Your Trash",
"pnt": 3
}
],
"multiply": 2,
"question": "Name Something That Only A Nosy Person Would Look Through"
},
{
"answers": [
{
"ans": "Price Is Right",
"pnt": 49
},
{
"ans": "Wheel Of Fortune",
"pnt": 19
},
{
"ans": "Friendly Feud",
"pnt": 18
},
{
"ans": "Jeopardy",
"pnt": 9
}
],
"multiply": 2,
"question": "Name A Gameshow That Has Been Around Forever."
}
],
"final_round": [
{
"answers": [
[
"Plus",
25
],
[
"Equal",
19
],
[
"Multiply",
14
],
[
"Divide",
12
],
[
"On/Off",
8
],
[
"Percent",
8
],
[
"Minus",
6
]
],
"question": "Besides numbers,name a button on a calculator"
},
{
"answers": [
[
"Smoking",
38
],
[
"Camping/Campfire",
27
],
[
"Fireworks",
15
],
[
"Fire Eating",
14
]
],
"question": "Name a Hobby That Would Be Ironic For A Firefighter To Have."
},
{
"answers": [
[
"Playing Outside",
52
],
[
"Playing Sports",
25
],
[
"Swimming",
18
],
[
"Getting Out Of Bed",
3
]
],
"question": "Name Something A Mom Might Tell Her Kid To Shower After Doing"
},
{
"answers": [
[
"Mall",
28
],
[
"Hospital",
18
],
[
"Concert",
16
],
[
"Airport",
15
],
[
"Work/Downtown",
14
],
[
"Sporting Event",
6
]
],
"question": "Tell Me A Place Where You Often Have To Pay For Parking."
}
],
"final_round_timers": [
2,
1
]
}
Loading

0 comments on commit 85e964f

Please sign in to comment.