• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mattonem / PharoJS / 13786588613

11 Mar 2025 11:09AM UTC coverage: 57.928% (-1.7%) from 59.622%
13786588613

push

github

mattonem
wrong version

12220 of 21095 relevant lines covered (57.93%)

0.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

20.0
/Pharo/PharoJs-Examples-Tests/PjHelloWorldExpressClientAppTest.class.st
1
Class {
2
        #name : 'PjHelloWorldExpressClientAppTest',
3
        #superclass : 'PjWebAppTestCase',
4
        #traits : 'PjTAppRunsInJS',
5
        #classTraits : 'PjTAppRunsInJS classTrait',
6
        #category : 'PharoJs-Examples-Tests-ExpressJS',
7
        #package : 'PharoJs-Examples-Tests',
8
        #tag : 'ExpressJS'
9
}
10

11
{ #category : 'suite parameters' }
12
PjHelloWorldExpressClientAppTest class >> appClass [
1✔
13

1✔
14
        ^ PjHelloWorldExpressClientApp
1✔
15
]
1✔
16

17
{ #category : 'tests' }
18
PjHelloWorldExpressClientAppTest >> testDisplayGreetingsNoName [
×
19

×
20
        self assert: app greetingsContainer textContent equals: '---'.
×
21
        self clickElement: app updateGreetingsButton.
×
22
        self waitUntil: [ 
×
23
                app greetingsContainer textContent = 'ExpressJS says: Hello!' ]
×
24
]
×
25

26
{ #category : 'tests' }
27
PjHelloWorldExpressClientAppTest >> testGreetingsUpdatedAfterSettingName [
×
28

×
29
        self assert: app greetingsContainer textContent equals: '---'.
×
30
        app nameInput value: 'Test Name'.
×
31
        self clickElement: app setNameButton.
×
32
        self waitUntil: [ 
×
33
                app greetingsContainer textContent
×
34
                = 'ExpressJS says: Hello Test Name!' ]
×
35
]
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc