Skip to content

Commit

Permalink
Absolute path for pagy in bundle exec command in cy scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Nov 9, 2024
1 parent 3843253 commit d75de65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/cy/open
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ root="$(git rev-parse --show-toplevel)"
. "$root/scripts/cd-and-back.sh"
cd "$root/e2e"

start-test "bundle exec pagy $app -p $port" http://0.0.0.0:$port --no-install "cypress open"
start-test "bundle exec $root/gem/bin/pagy $app -p $port" http://0.0.0.0:$port --no-install "cypress open"
2 changes: 1 addition & 1 deletion e2e/cy/reconcile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ echo > snapshots.js

test () {
NODE_NO_WARNINGS=1 \
start-test "bundle exec pagy $app -p $port -q --no-install > /dev/null" "http://0.0.0.0:$port" \
start-test "bundle exec $root/gem/bin/pagy $app -p $port -q --no-install > /dev/null" "http://0.0.0.0:$port" \
"cypress run --quiet --config baseUrl=http://0.0.0.0:$port --spec cypress/e2e/$app.cy.ts"
}

Expand Down
2 changes: 1 addition & 1 deletion e2e/cy/test
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cd "$root/e2e"

test () {
NODE_NO_WARNINGS=1 \
start-test "bundle exec pagy $app -p $port -q --no-install > /dev/null" "http://0.0.0.0:$port" \
start-test "bundle exec $root/gem/bin/pagy $app -p $port -q --no-install > /dev/null" "http://0.0.0.0:$port" \
"cypress run --quiet --config baseUrl=http://0.0.0.0:$port --spec cypress/e2e/$app.cy.ts"
}

Expand Down

0 comments on commit d75de65

Please sign in to comment.