Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front: hide simulation sticky bar #9512

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
padding-bottom: 3rem;

.osrd-simulation-sticky-bar {
// TODO: remove the `display none` when the design has been changed
display: none;
position: sticky;
border-radius: 4px;
width: 100%;
Expand Down
9 changes: 6 additions & 3 deletions front/tests/pages/op-timetable-page-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class OperationalStudiesTimetablePage {

readonly selectedTimetableTrain: Locator;

readonly simulationBar: Locator;
// TODO: remove this commented code when the design of simationBar has been changed
// readonly simulationBar: Locator;

readonly manchetteSpaceTimeChart: Locator;

Expand Down Expand Up @@ -46,7 +47,8 @@ class OperationalStudiesTimetablePage {
this.invalidTrainsMessage = page.getByTestId('invalid-trains-message');
this.timetableTrains = page.getByTestId('scenario-timetable-train');
this.selectedTimetableTrain = page.locator('[data-testid="scenario-timetable-train"].selected');
this.simulationBar = page.locator('.osrd-simulation-sticky-bar');
// TODO: remove this commented code when the design of simationBar has been changed
// this.simulationBar = page.locator('.osrd-simulation-sticky-bar');
this.manchetteSpaceTimeChart = page.locator('.manchette-space-time-chart-wrapper');
this.speedSpaceChart = page.locator('#container-SpeedSpaceChart');
this.spaceTimeChart = page.locator('.space-time-chart-container');
Expand Down Expand Up @@ -96,7 +98,8 @@ class OperationalStudiesTimetablePage {
await this.page.waitForLoadState('networkidle');

const simulationResultsLocators = [
this.simulationBar,
// TODO: remove this commented code when the design of simationBar has been changed
// this.simulationBar,
this.manchetteSpaceTimeChart,
this.speedSpaceChart,
this.spaceTimeChart,
Expand Down
Loading