Chrome extensions

Purchasing an NFT from Rarable

Industry
Blockchain & Web3
Problem types
Browser extensions

This automated test demonstrates interactions between Chrome extensions and the browser window with blockchain transactions. The test downloads and installs the MetaMask crypto wallet extension before heading to Rareable, where it logs in with the MetaMask credentials. Once logged in, the test user navigates to an NFT, purchases it, and asserts the transaction was successful.

How it's done

Browser extension installation

In order to test an extension, you need to run in a browser with a GUI (as opposed to running in headless mode) and preload that extension into the browser context so that it persists for the duration of the test. QA Wolf always runs tests in a GUI, and we use the Playwright test automation framework, which is one of the few frameworks that support preloading Chrome browser extensions.

See also

We use cookies to
improve your experience.