Skip to content

Commit 1fbca56

Browse files
committed
test: fix name of snapshots with enabled state
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
1 parent 44b3989 commit 1fbca56

File tree

1,409 files changed

+2
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,409 files changed

+2
-1
lines changed

DesignToolbox/DesignToolboxSnapshotsTests/__Snapshots__/Components/Test Cases/Components/Indicators/TagUITestCase.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,9 @@ open class TagUITestsTestCase: XCTestCase {
137137
let shapePattern = model.shape.technicalDescription
138138
let loaderPattern = model.loader ? ".loader" : ""
139139
let flipIconPattern = model.flipIcon ? ".flipIcon" : ""
140+
let disabledPatern = !model.enabled ? "_Disabled" : "_Enabled"
140141

141-
let name = "\(layoutPattern)\(appearancePattern)\(statusPattern)\(sizePattern)\(shapePattern)\(loaderPattern)\(flipIconPattern)"
142+
let name = "\(layoutPattern)\(appearancePattern)\(statusPattern)\(sizePattern)\(shapePattern)\(loaderPattern)\(flipIconPattern)\(disabledPatern)"
142143

143144
// Capture the snapshot of the illustration with the correct user interface style and save it with the snapshot name
144145
assertIllustration(illustration,

0 commit comments

Comments
 (0)