-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: adds description to charts and fixes up chart-related integratio…
…n tests.
- Loading branch information
1 parent
fcc7792
commit 9ea45f2
Showing
18 changed files
with
591 additions
and
85 deletions.
There are no files selected for viewing
35 changes: 33 additions & 2 deletions
35
...rt/ilios-common/page-objects/components/course/visualize-instructor-session-type-graph.js
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
34 changes: 32 additions & 2 deletions
34
...st-support/ilios-common/page-objects/components/course/visualize-instructor-term-graph.js
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
44 changes: 44 additions & 0 deletions
44
...on/addon-test-support/ilios-common/page-objects/components/course/visualize-term-graph.js
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { attribute, clickable, collection, create, notHasClass, text } from 'ember-cli-page-object'; | ||
|
||
const definition = { | ||
scope: '[data-test-course-visualize-term-graph]', | ||
isIcon: notHasClass('no-icon'), | ||
chart: { | ||
scope: '.simple-chart', | ||
bars: collection('.bars rect', { | ||
description: text('desc'), | ||
}), | ||
labels: collection('.bars text'), | ||
}, | ||
dataTable: { | ||
scope: '[data-test-data-table]', | ||
header: { | ||
scope: 'thead', | ||
sessionType: { | ||
scope: '[data-test-session-type]', | ||
toggle: clickable('button'), | ||
}, | ||
sessions: { | ||
scope: '[data-test-sessions]', | ||
toggle: clickable('button'), | ||
}, | ||
minutes: { | ||
scope: '[data-test-minutes]', | ||
toggle: clickable('button'), | ||
}, | ||
}, | ||
rows: collection('tbody tr', { | ||
sessionType: text('[data-test-session-type]'), | ||
sessions: { | ||
scope: '[data-test-sessions]', | ||
links: collection('a', { | ||
url: attribute('href'), | ||
}), | ||
}, | ||
minutes: text('[data-test-minutes]'), | ||
}), | ||
}, | ||
}; | ||
|
||
export default definition; | ||
export const component = create(definition); |
35 changes: 33 additions & 2 deletions
35
...-test-support/ilios-common/page-objects/components/course/visualize-vocabularies-graph.js
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
34 changes: 32 additions & 2 deletions
34
...on-test-support/ilios-common/page-objects/components/course/visualize-vocabulary-graph.js
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
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
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
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
Oops, something went wrong.