@@ -32,12 +32,11 @@ context('DataTypes', () => {
32
32
cy . umbracoTreeItem ( "content" , [ name ] ) . click ( ) ;
33
33
//Pick a colour
34
34
cy . get ( '.btn-000000' ) . click ( ) ;
35
- //Save
35
+ //Save
36
36
cy . umbracoButtonByLabelKey ( 'buttons_saveAndPublish' ) . click ( ) ;
37
37
cy . umbracoSuccessNotification ( ) . should ( 'be.visible' ) ;
38
38
//Editing template with some content
39
- cy . editTemplate ( name , '@inherits Umbraco.Web.Mvc.UmbracoViewPage<ContentModels.ApprovedColourTest>' +
40
- '\n@using ContentModels = Umbraco.Web.PublishedModels;' +
39
+ cy . editTemplate ( name , '@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<ApprovedColourTest>' +
41
40
'\n@{' +
42
41
'\n Layout = null;' +
43
42
'\n}' +
@@ -49,7 +48,7 @@ context('DataTypes', () => {
49
48
50
49
//Pick another colour to verify both work
51
50
cy . get ( '.btn-FF0000' ) . click ( ) ;
52
- //Save
51
+ //Save
53
52
cy . umbracoButtonByLabelKey ( 'buttons_saveAndPublish' ) . click ( ) ;
54
53
cy . umbracoSuccessNotification ( ) . should ( 'be.visible' ) ;
55
54
//Assert
@@ -64,7 +63,7 @@ context('DataTypes', () => {
64
63
65
64
// it('Tests Checkbox List', () => {
66
65
// const name = 'CheckBox List';
67
- // const alias = AliasHelper.toAlias(name);
66
+ // const alias = AliasHelper.toAlias(name);
68
67
69
68
// cy.umbracoEnsureDocumentTypeNameNotExists(name);
70
69
// cy.umbracoEnsureDataTypeNameNotExists(name);
@@ -85,7 +84,7 @@ context('DataTypes', () => {
85
84
// //Save
86
85
// cy.umbracoButtonByLabelKey('buttons_saveAndPublish').click();
87
86
// cy.umbracoSuccessNotification().should('be.visible');
88
-
87
+
89
88
// //Edit template with content
90
89
// cy.editTemplate(name, '@inherits Umbraco.Web.Mvc.UmbracoViewPage<ContentModels.CheckboxList>' +
91
90
// '\n@using ContentModels = Umbraco.Web.PublishedModels;' +
@@ -94,4 +93,4 @@ context('DataTypes', () => {
94
93
// '\n}' +
95
94
// '\n<p>@Model.UmbracoTest</p>');
96
95
// });
97
- } ) ;
96
+ } ) ;
0 commit comments