
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@appsemble/e2e
Advanced tools
End-to-end tests used for testing Appsemble apps in an existing environment.
Run end 2 end tests on an Appsemble environment
To run end to end tests, run:
npm run e2e
The tests use Playwright.
After each test a video will be saved in the packages/e2e/test-results/{name-test}
directory for
further inspection.
The end to end tests use the following environment variables:
BOT_ACCOUNT_EMAIL
— The email address used to login.BOT_ACCOUNT_PASSWORD
— The password used to login.CI_MERGE_REQUEST_IID
— By default tests are run against the staging environment on
https://staging.appsemble.review. If this variable is specified, tests are run against the merge
request review environment instead.ACCESS_TOKEN
— The access token of the account that's logged in.Common end-to-end fixtures are defined under the fixtures
directory. These are exported for other
packages to use, like client apps. This can be done by installing this package and importing test
or expect
.
Some fixtures call the Appsemble API using the Playwright request
object. This expects you to have
set an access token as environment variable with the name ACCESS_TOKEN beforehand. The easiest
way to do this is by setting it in a setup step using the loginUser
fixture.
auth.setup.ts
setup('authenticate', async ({ loginUser }) => {
const accessToken = await loginUser('bot', '12345');
process.env.ACCESS_TOKEN = accessToken;
});
When writing end-to-end tests, have a look at the best practices to help you write solid tests.
[0.33.3] - 2025-06-27
filter
): New parameter defaultFilter
which allows you to define a default filter for
every request.app.member.query
action on the server.FAQs
End-to-end tests used for testing Appsemble apps in an existing environment.
We found that @appsemble/e2e demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.