-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
73 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,62 @@ | ||
|
||
describe('testing test', () => { | ||
it.only('should fix geo data', () => { | ||
cy.visitTest('Geo', 'Circle Markers') | ||
it('should make Gauge snapshot', () => { | ||
cy.visitTest('Gauge', 'Gauge') | ||
cy.inputKnobs('Fixed data', true, 'boolean') | ||
}) | ||
|
||
it('should make snapsot of band chart', () => { | ||
cy.visitTest('Band Chart', 'Static: groupBy applied') | ||
cy.inputKnobs('Time Format', 'HH:mm', 'select') | ||
it('should make snapshot of gauge', () => { | ||
cy.visitTest('Gauge', 'Gauge') | ||
cy.inputKnobs('Fixed data', true, 'boolean') | ||
cy.inputKnobs('Gauge Lines', 12, 'number') | ||
cy.wait(4000) | ||
cy.inputKnobs('Ticks between lines', 3, 'number') | ||
|
||
cy.snapshotComponent('gauge-test-3-ticks-between-lines-12-gauge-lines') | ||
|
||
cy.inputKnobs('Gauge Min', 10, 'number') | ||
|
||
cy.inputKnobs('Prefix', 'haf ', 'text') | ||
cy.wait(2000) | ||
|
||
cy.snapshotComponent('gauge-test-Haf-prefix-10-gauge-min') | ||
}) | ||
|
||
it('should make snapshot of gauge', () => { | ||
cy.visitTest('Gauge', 'Gauge') | ||
cy.inputKnobs('Fixed data', true, 'boolean') | ||
|
||
cy.inputKnobs('Ticks between lines', 3, 'number') | ||
|
||
cy.snapshotComponent('gauge-test-1') | ||
cy.snapshotComponent('gauge-test-3-ticks-between-lines') | ||
cy.wait(2000) | ||
|
||
cy.inputKnobs('Decimal Places', 2, 'number') | ||
cy.inputKnobs('Gauge Max', 23, 'number') | ||
cy.inputKnobs('Suffix', 'HKS', 'text') | ||
cy.wait(2000) | ||
cy.inputKnobs('Suffix', 'halsper ', 'text') | ||
|
||
cy.snapshotComponent('gauge-test-2-decimal-places') | ||
cy.snapshotComponent('gauge-test-suffix-prefix-type') | ||
|
||
cy.inputKnobs('Gauge Min', 20, 'number') | ||
|
||
cy.snapshotComponent('gauge-test-start-20') | ||
}) | ||
}) | ||
|
||
it('should make snapchot of gauge', () => { | ||
cy.visitTest('Gauge', 'Gauge') | ||
cy.inputKnobs('Fixed data', true, 'boolean') | ||
|
||
cy.inputKnobs('Decimal Places', 1, 'number') | ||
cy.wait(3000) | ||
|
||
cy.inputKnobs('Gauge Lines', 1, 'number') | ||
cy.inputKnobs('Ticks between lines', 39, 'number') | ||
|
||
cy.inputKnobs('TickPrefix', 'kdfakdhj', 'text') | ||
cy.snapshotComponent('gauge-test-tick-prefix') | ||
|
||
cy.inputKnobs('TickPrefix', ' ', 'text') | ||
cy.inputKnobs('TickSuffix', 'kdkdhj', 'text') | ||
cy.snapshotComponent('gaure-test-ticksSuffix') | ||
} | ||
) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters