Skip to content

Commit

Permalink
Fix typo in css class name
Browse files Browse the repository at this point in the history
  • Loading branch information
cbliard committed Mar 18, 2024
1 parent 3f12086 commit b30575f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.op-wp-embeded-graph
.op-wp-embedded-graph
&.work-packages-embedded-view--container
height: 100%
max-height: 500px
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="op-wp-embeded-graph work-packages-embedded-view--container loading-indicator--location" #graphContainer [ngStyle]="{height: chartHeight}">
<div class="op-wp-embedded-graph work-packages-embedded-view--container loading-indicator--location" #graphContainer [ngStyle]="{height: chartHeight}">
<canvas baseChart
[datasets]="chartData"
[labels]="chartLabels"
Expand Down
4 changes: 2 additions & 2 deletions spec/features/versions/graph_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@

def expect_work_packages_visible_in_graph
expect(page).to have_css(".work-packages-embedded-view--container", wait: 20)
expect(page).to have_css(".op-wp-embeded-graph", visible: :all, wait: 20)
canvas = find(".op-wp-embeded-graph canvas")
expect(page).to have_css(".op-wp-embedded-graph", visible: :all, wait: 20)
canvas = find(".op-wp-embedded-graph canvas")
expect(canvas.text).to eq("1 Control; 1 Subject under test")
end

Expand Down

0 comments on commit b30575f

Please sign in to comment.