Skip to content

Commit

Permalink
fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tervay committed Dec 17, 2023
1 parent 7297fb4 commit 6eed3fc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
44 changes: 22 additions & 22 deletions cypress/e2e/flywheel.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelWeight: 1.5,
flywheelShooterRatio: 1,
shooterMaxSpeed: 11760,
customShooterMOI: 4.5,
customFlywheelMOI: "3.0",
customShooterMOI: "4.500",
customFlywheelMOI: "3.000",
windupTime: 2.64,
recoveryTime: 0.6129,
surfaceSpeed: 287.98,
Expand All @@ -142,8 +142,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelWeight: 1.5,
flywheelShooterRatio: 1,
shooterMaxSpeed: 11760,
customShooterMOI: 4.5,
customFlywheelMOI: "3.0",
customShooterMOI: "4.500",
customFlywheelMOI: "3.000",
windupTime: 5.56,
recoveryTime: 1.2903,
surfaceSpeed: 287.98,
Expand All @@ -170,8 +170,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelWeight: 1.5,
flywheelShooterRatio: 1,
shooterMaxSpeed: 11760,
customShooterMOI: 4.5,
customFlywheelMOI: "3.0",
customShooterMOI: "4.500",
customFlywheelMOI: "3.000",
windupTime: 1.27,
recoveryTime: 0.1042,
surfaceSpeed: 148.68,
Expand All @@ -198,8 +198,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelWeight: 1.5,
flywheelShooterRatio: 1,
shooterMaxSpeed: 11760,
customShooterMOI: 4.5,
customFlywheelMOI: "3.0",
customShooterMOI: "4.500",
customFlywheelMOI: "3.000",
windupTime: "3.80",
recoveryTime: 0.8834,
surfaceSpeed: 287.98,
Expand All @@ -226,8 +226,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelWeight: 1.5,
flywheelShooterRatio: 1,
shooterMaxSpeed: 17640,
customShooterMOI: 4.5,
customFlywheelMOI: "3.0",
customShooterMOI: "4.500",
customFlywheelMOI: "3.000",
windupTime: 2.82,
recoveryTime: 0.4087,
surfaceSpeed: 287.98,
Expand All @@ -254,8 +254,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelWeight: 1.5,
flywheelShooterRatio: 1,
shooterMaxSpeed: 11760,
customShooterMOI: 4.5,
customFlywheelMOI: "3.0",
customShooterMOI: "4.500",
customFlywheelMOI: "3.000",
windupTime: 5.28,
recoveryTime: 1.4192,
surfaceSpeed: 287.98,
Expand All @@ -282,8 +282,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelWeight: 1.5,
flywheelShooterRatio: 1,
shooterMaxSpeed: 11760,
customShooterMOI: "8.0",
customFlywheelMOI: "3.0",
customShooterMOI: "8.000",
customFlywheelMOI: "3.000",
windupTime: 7.74,
recoveryTime: "1.5480",
surfaceSpeed: 383.97,
Expand All @@ -310,8 +310,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelWeight: 1.5,
flywheelShooterRatio: 1,
shooterMaxSpeed: 11760,
customShooterMOI: 22.5,
customFlywheelMOI: "3.0",
customShooterMOI: "22.500",
customFlywheelMOI: "3.000",
windupTime: 17.95,
recoveryTime: 6.8046,
surfaceSpeed: 287.98,
Expand All @@ -338,8 +338,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelWeight: 1.5,
flywheelShooterRatio: 1,
shooterMaxSpeed: 11760,
customShooterMOI: 4.5,
customFlywheelMOI: "12.0",
customShooterMOI: "4.500",
customFlywheelMOI: "12.000",
windupTime: 11.61,
recoveryTime: 4.0272,
surfaceSpeed: 287.98,
Expand All @@ -366,8 +366,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelRadius: 2,
flywheelShooterRatio: 1,
shooterMaxSpeed: 11760,
customShooterMOI: 4.5,
customFlywheelMOI: "4.0",
customShooterMOI: "4.500",
customFlywheelMOI: "4.000",
windupTime: 5.98,
recoveryTime: 1.5134,
surfaceSpeed: 287.98,
Expand All @@ -394,8 +394,8 @@ describe("Flywheel Calculator e2e tests", () => {
flywheelRadius: 2,
flywheelWeight: 1.5,
shooterMaxSpeed: 11760,
customShooterMOI: 4.5,
customFlywheelMOI: "3.0",
customShooterMOI: "4.500",
customFlywheelMOI: "3.000",
windupTime: 3.25,
recoveryTime: 0.4938,
surfaceSpeed: 287.98,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export default function FlywheelCalculator(): JSX.Element {
set.setShooterMomentOfInertia,
]}
numberDisabledIf={() => !get.useCustomShooterMoi}
numberRoundTo={4}
numberRoundTo={3}
/>
</SingleInputLine>
</Column>
Expand Down Expand Up @@ -437,7 +437,7 @@ export default function FlywheelCalculator(): JSX.Element {
set.setFlywheelMomentOfInertia,
]}
numberDisabledIf={() => !get.useCustomFlywheelMoi}
numberRoundTo={1}
numberRoundTo={3}
/>
</SingleInputLine>
</Column>
Expand Down

0 comments on commit 6eed3fc

Please sign in to comment.