8
0
فهرست منبع

Merge pull request #143 from ckeditor/t/ckeditor5-alignment/16

Tests: Aligned code to the changes in naming UI components & commands.
Piotrek Koszuliński 7 سال پیش
والد
کامیت
a63f21feee

+ 1 - 1
packages/ckeditor5-typing/tests/deletecommand-integration.js

@@ -191,7 +191,7 @@ describe( 'DeleteCommand integration', () => {
 			setData( model,
 				'<listItem indent="0" type="numbered">OL List i[tem 1</listItem>' +
 				'<listItem indent="0" type="numbered">OL List item 2</listItem>]' +
-				'<image alt="bar" imageStyle="imageStyleSide" src="sample.jpg"><caption>[Caption</caption></image>' +
+				'<image alt="bar" imageStyle="side" src="sample.jpg"><caption>[Caption</caption></image>' +
 				'<blockQuote>' +
 					'<paragraph>Quote</paragraph>' +
 					'<listItem indent="0" type="bulleted">Quoted UL List item 1</listItem>' +

+ 1 - 1
packages/ckeditor5-typing/tests/manual/20/1.js

@@ -15,7 +15,7 @@ import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Essentials, Paragraph, Bold, Italic, Heading ],
-		toolbar: [ 'headings', '|', 'bold', 'italic', 'undo', 'redo' ]
+		toolbar: [ 'heading', '|', 'bold', 'italic', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-typing/tests/manual/21/1.js

@@ -15,7 +15,7 @@ import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Essentials, Paragraph, Bold, Italic, Heading ],
-		toolbar: [ 'headings', '|', 'bold', 'italic', 'undo', 'redo' ]
+		toolbar: [ 'heading', '|', 'bold', 'italic', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-typing/tests/manual/40/1.js

@@ -13,7 +13,7 @@ import Heading from '@ckeditor/ckeditor5-heading/src/heading';
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Enter, Typing, Heading ],
-		toolbar: [ 'headings' ]
+		toolbar: [ 'heading' ]
 	} )
 	.then( editor => {
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-typing/tests/manual/52/1.js

@@ -20,7 +20,7 @@ window.setInterval( function() {
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Essentials, Paragraph, Bold, Italic, Heading ],
-		toolbar: [ 'headings', '|', 'bold', 'italic', 'undo', 'redo' ]
+		toolbar: [ 'heading', '|', 'bold', 'italic', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-typing/tests/manual/82/1.js

@@ -18,7 +18,7 @@ window.setInterval( function() {
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Essentials, Paragraph, Heading ],
-		toolbar: [ 'headings', '|', 'undo', 'redo' ]
+		toolbar: [ 'heading', '|', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-typing/tests/manual/delete.js

@@ -22,7 +22,7 @@ window.setInterval( function() {
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Essentials, Paragraph, Bold, Italic, Heading ],
-		toolbar: [ 'headings', '|', 'bold', 'italic', 'undo', 'redo' ]
+		toolbar: [ 'heading', '|', 'bold', 'italic', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-typing/tests/manual/input.js

@@ -20,7 +20,7 @@ window.setInterval( function() {
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ Essentials, Paragraph, Bold, Italic, Heading ],
-		toolbar: [ 'headings', '|', 'bold', 'italic', 'undo', 'redo' ]
+		toolbar: [ 'heading', '|', 'bold', 'italic', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-typing/tests/manual/rtl.js

@@ -15,7 +15,7 @@ import { getData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model';
 
 const config = {
 	plugins: [ Essentials, Paragraph, Bold, Italic, Heading ],
-	toolbar: [ 'headings', '|', 'bold', 'italic', 'undo', 'redo' ]
+	toolbar: [ 'heading', '|', 'bold', 'italic', 'undo', 'redo' ]
 };
 
 window.setInterval( function() {

+ 1 - 1
packages/ckeditor5-typing/tests/manual/spellchecking.js

@@ -19,7 +19,7 @@ window.setInterval( function() {
 
 ClassicEditor.create( document.querySelector( '#editor' ), {
 	plugins: [ Essentials, Paragraph, Bold, Italic, Heading ],
-	toolbar: [ 'headings', '|', 'bold', 'italic', 'undo', 'redo' ]
+	toolbar: [ 'heading', '|', 'bold', 'italic', 'undo', 'redo' ]
 } )
 	.then( editor => {
 		window.editor = editor;