From 944ddda86cb14fd7d46dbd0868be65406904f049 Mon Sep 17 00:00:00 2001 From: Maximiliano Tabacman Date: Fri, 16 Apr 2021 00:06:11 -0300 Subject: [PATCH 1/2] Missing identifiable reference. --- source/Willow-Core/ComponentFocusingCommand.class.st | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Willow-Core/ComponentFocusingCommand.class.st b/source/Willow-Core/ComponentFocusingCommand.class.st index c65e3d65..7d203daa 100644 --- a/source/Willow-Core/ComponentFocusingCommand.class.st +++ b/source/Willow-Core/ComponentFocusingCommand.class.st @@ -19,6 +19,7 @@ ComponentFocusingCommand class >> findingComponentUsing: aComponentProvider [ { #category : #'instance creation' } ComponentFocusingCommand class >> for: anIdentifiedView [ + anIdentifiedView beIdentifiable. ^ self findingComponentUsing: [ :aCanvas | aCanvas locate: anIdentifiedView ] ] From 02ff9cfa13bb696fdc0a728e260c4fc752ed9f1a Mon Sep 17 00:00:00 2001 From: Maximiliano Tabacman Date: Sun, 18 Apr 2021 14:55:05 -0300 Subject: [PATCH 2/2] Adjusted tests --- source/Willow-Core-Tests/CheckboxWebViewTest.class.st | 2 +- .../CombinedWebInteractionInterpreterTest.class.st | 6 +++--- .../MultipleSelectionListBoxWebViewTest.class.st | 2 +- .../PeriodicallyRenderedWebViewTest.class.st | 2 +- source/Willow-Core-Tests/RenderingCommandTest.class.st | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/Willow-Core-Tests/CheckboxWebViewTest.class.st b/source/Willow-Core-Tests/CheckboxWebViewTest.class.st index ff982636..d5dc1227 100644 --- a/source/Willow-Core-Tests/CheckboxWebViewTest.class.st +++ b/source/Willow-Core-Tests/CheckboxWebViewTest.class.st @@ -41,7 +41,7 @@ CheckboxWebViewTest >> testIdentifierOn [ self assert: html - equals: '' + equals: '' ] { #category : #'tests-configuring' } diff --git a/source/Willow-Core-Tests/CombinedWebInteractionInterpreterTest.class.st b/source/Willow-Core-Tests/CombinedWebInteractionInterpreterTest.class.st index 7c93d62b..9ae9ca6d 100644 --- a/source/Willow-Core-Tests/CombinedWebInteractionInterpreterTest.class.st +++ b/source/Willow-Core-Tests/CombinedWebInteractionInterpreterTest.class.st @@ -727,7 +727,7 @@ CombinedWebInteractionInterpreterTest >> testShowWhileCallingServerToRender [ self assert: html equals: - '
' + '
' ] { #category : #'tests - Configuring - Serialization' } @@ -869,7 +869,7 @@ CombinedWebInteractionInterpreterTest >> testToggleCssClassOn [ self assert: html equals: - '' + '' ] { #category : #'tests - Configuring - CSS' } @@ -918,7 +918,7 @@ CombinedWebInteractionInterpreterTest >> testTransformInto [ self assert: html equals: - '
' + '
' ] { #category : #'tests - Configuring - CSS' } diff --git a/source/Willow-Core-Tests/MultipleSelectionListBoxWebViewTest.class.st b/source/Willow-Core-Tests/MultipleSelectionListBoxWebViewTest.class.st index 2c6dfad5..b2d4b7f1 100644 --- a/source/Willow-Core-Tests/MultipleSelectionListBoxWebViewTest.class.st +++ b/source/Willow-Core-Tests/MultipleSelectionListBoxWebViewTest.class.st @@ -148,7 +148,7 @@ MultipleSelectionListBoxWebViewTest >> testIdentifierOn [ self assert: html - equals: '' + equals: '' ] { #category : #'tests-Multiple Selection-API' } diff --git a/source/Willow-Core-Tests/PeriodicallyRenderedWebViewTest.class.st b/source/Willow-Core-Tests/PeriodicallyRenderedWebViewTest.class.st index d5dd06ef..b3b3f5f3 100644 --- a/source/Willow-Core-Tests/PeriodicallyRenderedWebViewTest.class.st +++ b/source/Willow-Core-Tests/PeriodicallyRenderedWebViewTest.class.st @@ -92,5 +92,5 @@ PeriodicallyRenderedWebViewTest >> testScriptToRefreshAndRenderContentOn [ self assert: html equals: - '
");' + '
");' ] diff --git a/source/Willow-Core-Tests/RenderingCommandTest.class.st b/source/Willow-Core-Tests/RenderingCommandTest.class.st index 53c1fbdd..17dda7ba 100644 --- a/source/Willow-Core-Tests/RenderingCommandTest.class.st +++ b/source/Willow-Core-Tests/RenderingCommandTest.class.st @@ -40,7 +40,7 @@ RenderingCommandTest >> testModelLoadingInstructions [ self assert: html equals: - '' + '' ] { #category : #'tests-accessing' }