File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Release
2
2
3
3
on :
4
4
push :
5
- branches : [master]
5
+ branches : [master, beta ]
6
6
7
7
jobs :
8
8
build :
66
66
node-version : ${{ matrix.node-version }}
67
67
registry-url : https://registry.npmjs.org/
68
68
- run : yarn install --frozen-lockfile
69
- - run : npm publish --tag beta -- access public
69
+ - run : npm publish --access public
70
70
env :
71
71
NODE_AUTH_TOKEN : ${{ secrets.NPMJS_TOKEN }}
72
72
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
92
92
- run :
93
93
echo "//npm.pkg.github.com:_authToken=${{ secrets.GITHUB_TOKEN }}" >
94
94
~/.npmrc
95
- - run : npm publish --tag beta -- @lottiefiles:registry=https://npm.pkg.github.com/
95
+ - run : npm publish --@lottiefiles:registry=https://npm.pkg.github.com/
96
96
env :
97
97
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
98
98
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ context("Player controls", () => {
10
10
} ) ;
11
11
12
12
it ( "clicks on play button and verifies animation is playing" , function ( done ) {
13
- cy . wait ( 2000 ) ;
13
+ cy . wait ( 3000 ) ;
14
14
cy . get ( "#container-one .lf-player-btn" ) . eq ( 0 ) . click ( { force : true } ) ;
15
15
16
16
cy . window ( ) . then ( ( win ) => {
@@ -20,7 +20,7 @@ context("Player controls", () => {
20
20
} ) ;
21
21
22
22
it ( "clicks on pause button and verifies animation is paused" , function ( done ) {
23
- cy . wait ( 2000 ) ;
23
+ cy . wait ( 3000 ) ;
24
24
cy . get ( "#container-two .lf-player-btn" ) . eq ( 0 ) . click ( { force : true } ) ;
25
25
26
26
cy . window ( ) . then ( ( win ) => {
@@ -30,7 +30,7 @@ context("Player controls", () => {
30
30
} ) ;
31
31
32
32
it ( "clicks on stop button and verififes animation is stopped and at frame 0" , function ( done ) {
33
- cy . wait ( 2000 ) ;
33
+ cy . wait ( 3000 ) ;
34
34
cy . get ( "#container-three .lf-player-btn" ) . eq ( 1 ) . click ( { force : true } ) ;
35
35
36
36
cy . window ( ) . then ( ( win ) => {
Original file line number Diff line number Diff line change @@ -8,23 +8,23 @@ context("Player methods", () => {
8
8
} ) ;
9
9
10
10
it ( "Player-one should have play toggled." , function ( done ) {
11
- cy . wait ( 1000 ) ;
11
+ cy . wait ( 3000 ) ;
12
12
cy . window ( ) . then ( ( win ) => {
13
13
if ( ! win . lottie . getRegisteredAnimations ( ) [ 0 ] . isPaused )
14
14
done ( ) ;
15
15
} ) ;
16
16
} ) ;
17
17
18
18
it . skip ( "Player-two should have loop toggled." , function ( done ) {
19
- cy . wait ( 1000 ) ;
19
+ cy . wait ( 3000 ) ;
20
20
cy . window ( ) . then ( ( win ) => {
21
21
if ( ! win . lottie . getRegisteredAnimations ( ) [ 1 ] . loop )
22
22
done ( ) ;
23
23
} ) ;
24
24
} ) ;
25
25
26
26
it ( "Player-three should play at x5 the speed" , function ( done ) {
27
- cy . wait ( 1000 ) ;
27
+ cy . wait ( 3000 ) ;
28
28
cy . window ( ) . then ( ( win ) => {
29
29
if ( win . lottie . getRegisteredAnimations ( ) [ 2 ] . playSpeed === 5 )
30
30
done ( ) ;
@@ -38,7 +38,7 @@ context("Player methods", () => {
38
38
} ) ;
39
39
40
40
it ( "Player-five should be paused." , function ( done ) {
41
- cy . wait ( 1000 ) ;
41
+ cy . wait ( 3000 ) ;
42
42
cy . window ( ) . then ( ( win ) => {
43
43
if ( win . lottie . getRegisteredAnimations ( ) [ 4 ] . isPaused )
44
44
done ( ) ;
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ context("Player properties", () => {
14
14
} ) ;
15
15
16
16
it ( "Player-two should play at x5 the speed" , ( ) => {
17
- cy . wait ( 1000 ) ;
17
+ cy . wait ( 3000 ) ;
18
18
cy . window ( ) . then ( ( win ) => {
19
19
if ( ! win . lottie . getRegisteredAnimations ( ) [ 1 ] . playSpeed === 5 )
20
20
done ( ) ;
21
21
} ) ;
22
22
} ) ;
23
23
24
24
it ( "Player-three should autoplay and loop" , function ( done ) {
25
- cy . wait ( 1000 ) ;
25
+ cy . wait ( 3000 ) ;
26
26
cy . window ( ) . then ( ( win ) => {
27
27
if ( ! win . lottie . getRegisteredAnimations ( ) [ 2 ] . isPaused
28
28
&& win . lottie . getRegisteredAnimations ( ) [ 2 ] . loop )
@@ -32,8 +32,8 @@ context("Player properties", () => {
32
32
} ) ;
33
33
34
34
it ( "Player-four should play on hover" , function ( done ) {
35
+ cy . wait ( 3000 ) ;
35
36
cy . get ( "#player-four" ) . trigger ( 'mouseenter' ) ;
36
- cy . wait ( 1000 ) ;
37
37
cy . window ( ) . then ( ( win ) => {
38
38
if ( ! win . lottie . getRegisteredAnimations ( ) [ 3 ] . isPaused )
39
39
done ( ) ;
You can’t perform that action at this time.
0 commit comments