@@ -12,10 +12,10 @@ describe('Load Data Sources', () => {
1212 )
1313 } )
1414
15- it ( 'navigate to Client Library details view and render it with essentials ' , ( ) => {
15+ it ( 'navigates to Client Library details view and renders details without a wizard ' , ( ) => {
1616 cy . getByTestID ( 'write-data--section client-libraries' ) . within ( ( ) => {
1717 cy . getByTestID ( 'square-grid' ) . within ( ( ) => {
18- cy . getByTestIDSubStr ( 'load-data-item' ) . first ( ) . click ( )
18+ cy . getByTestIDSubStr ( 'load-data-item csharp ' ) . first ( ) . click ( )
1919 } )
2020 } )
2121
@@ -27,7 +27,25 @@ describe('Load Data Sources', () => {
2727 logoElement . should ( 'exist' )
2828 } )
2929
30- it ( 'navigate to Telegraf Plugin details view and render it with essentials' , ( ) => {
30+ it ( 'navigates to Client Library details view and renders a wizard' , ( ) => {
31+ const libaryWithWizard = 'Arduino'
32+ cy . getByTestID ( 'write-data--section client-libraries' ) . within ( ( ) => {
33+ cy . getByTestID ( 'square-grid' ) . within ( ( ) => {
34+ cy . getByTestIDSubStr ( `load-data-item ${ libaryWithWizard . toLowerCase ( ) } ` )
35+ . first ( )
36+ . click ( )
37+ } )
38+ } )
39+
40+ const contentNav = cy . getByTestID ( 'subway-nav' )
41+ contentNav . should ( 'exist' )
42+ contentNav . children ( ) . should ( 'exist' )
43+
44+ const titleElement = cy . get ( '.subway-navigation-title-text' )
45+ titleElement . contains ( libaryWithWizard )
46+ } )
47+
48+ it ( 'navigates to Telegraf Plugin details view and render it with essentials' , ( ) => {
3149 cy . getByTestID ( 'write-data--section telegraf-plugins' ) . within ( ( ) => {
3250 cy . getByTestID ( 'square-grid' ) . within ( ( ) => {
3351 cy . getByTestIDSubStr ( 'load-data-item' ) . first ( ) . click ( )
@@ -42,7 +60,7 @@ describe('Load Data Sources', () => {
4260 logoElement . should ( 'exist' )
4361 } )
4462
45- it ( 'let you search things' , ( ) => {
63+ it ( 'lets you search things' , ( ) => {
4664 cy . getByTestID ( 'write-data--search' ) . type ( 'diskio' )
4765
4866 cy . getByTestID ( 'write-data--section telegraf-plugins' ) . should ( 'exist' )
0 commit comments