Skip to content

Commit

Permalink
Merge 62f48a9 into a0224a0
Browse files Browse the repository at this point in the history
  • Loading branch information
mattonem committed Jul 14, 2023
2 parents a0224a0 + 62f48a9 commit 366cc58
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
branches: [ "pharo10", "ci" ]
pull_request:
branches: [ "pharo10" ]
branches: [ "pharo10", "ci" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .smalltalk.ston
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SmalltalkCISpec {
#platforms : [ #pharo ]
}
],
#postLoading : [
#preTesting : [
'scripts/setup.st'
],
#testing : {
Expand Down
6 changes: 6 additions & 0 deletions Pharo/PharoJs-Base-Bridge-Tests/PjBridgeTestCase.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ PjBridgeTestCase class >> appClass [
^ PjMinimalWebApplication
]

{ #category : #'suite parameters' }
PjBridgeTestCase class >> defaultTimeLimit [

^ 2 minutes
]

{ #category : #'test support' }
PjBridgeTestCase >> addToDOM: html [

Expand Down
3 changes: 1 addition & 2 deletions Pharo/PharoJs-Base-Bridge-Tests/PjLoadForTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ PjLoadForTest class >> y [
]

{ #category : #any }
PjLoadForTest >> literal [
PjLoadForTest >> literalGenerator [
<jsLiteralGenerator>

^ 3 + 4
]

Expand Down
2 changes: 1 addition & 1 deletion Pharo/PharoJs-Base-Bridge-Tests/PjLoadingTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ PjLoadingTest >> testEvalBlock [
PjLoadingTest >> testLiteralGeneration [

self assertEquivalent: [ PjLoadForTest literal ].
self assertEquivalent: [ PjLoadForTest new literal ]
self assertEquivalent: [ PjLoadForTest new literalGenerator ]
]

{ #category : #tests }
Expand Down
2 changes: 1 addition & 1 deletion Pharo/PharoJs-TestFramework/PjAppTestCase.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,5 @@ PjAppTestCase >> tearDown [

{ #category : #testing }
PjAppTestCase >> timeOutForAppStartUp [
^3 seconds
^ 20 seconds
]
3 changes: 2 additions & 1 deletion scripts/setup.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ newRepository := IceRepositoryCreator new
repository: nil;
location: '.' asFileReference ;
createRepository .
newRepository register.
newRepository register.
WebBrowser webbrowserClassForPlatform openNativeWebBrowserOn: 'https://google.com'.

0 comments on commit 366cc58

Please sign in to comment.