Often our tests need to confirm that while the application is loading its data, the web page shows specific information. For example, while the app is using GET /fruit network call to fetch the name of the fruit, the page shows "loading..." text. We can slow down the network call using cy.intercept command and confirm the loading text 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 it('shows the loading element', () => { // delay the network call for 2 seconds cy.intercept('GET', '/fruit', () => Cypress.Promise.delay(2000), ).as('loadFruit') cy.visit('/') // confirm the…
A container shares the host kernel. Docker Sandboxes are microVMs with their own kernel and private Docker Engine. See how they differ and when to use each.
PHP2Shell and the eMudhra certificate compromise landed in the same week. Docker published a fixed PHP image within 24 hours and rebuilt the trust store across the catalog.
Container security spans the image, build, and runtime. See the practical steps that shrink your attack surface and keep vulnerabilities out of production.
Harbor can now run every eval task in Docker Sandboxes Docker Sandboxes are MicroVM environments to run agents like Claude Code, Codex, Cursor, and more safely With Sandboxes, define custom network policies for fair, reproducible evals Run your evals locally or in the cloud: starting for free on Docker Sandboxes on local surfaces and scaling...
productsai-mlexcerpt only · body stays at the source
Imagine you are building an online shopping site. Your goal is to build the best customer-to-customer site, similar to mercari.com 😉. When the user enters a new listing details. the system tries to suggest the best shipping option; the online commerce lives and dies by the shipping rates. So you want to suggest to the user the shipping dimensions and options that make sense. But sometimes there is no guess, so the shipping dimensions might be missing. Here is how it looks for our example test site: The dimensions predictions data is returned by the backend in response to POST /dimensions…
CVE-2026-105445: Docker Hub account conversion could re-assign personal access tokens to a new owner. Read what happened, who was affected, and the fix.
At WeAreDevelopers, Docker introduced Cloud Sandboxes, the open Sandbox Kit specification, and a commitment to bring Kits to the CNCF for neutral governance.
Let's take a sample Cypress project bahmutov/cypress-cloud-skill-example with recorded Cypress test runs on CI. For simplicity there is just one spec cypress/e2e/spec.cy.js with 3 passing tests cypress/e2e/spec.cy.js1 2 3 4 5 describe('Suite A', () => { it('works 1', () => {}) it('works 2', () => {}) it('works 3', () => {}) }) We run the tests using GitHub Actions .github/workflows/ci.yml1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 name: ci on: push jobs: cypress-run: runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v7 # Install dependencies with caching # and run all Cypress…
Cypress can test the current subject using implicit assertions that I find more readable than the explicit Chai assertions. Recently I saw a Linkedin post that shows "before & after" API test using Cypress. Here is the screenshot included in the post. Right away, I want to say that the "after" test is better. It checks the response status first, then confirms the types and ranges of values, rather than hard codes the new item's id and creation date. The "after" test will probably pass, while the first test will probably fail really quickly on new runs. I like the general idea. But I think…
The newest worker on your team builds with whatever it finds and never asks what deserves your trust. Our answer is a hardened foundation and a boundary built for agents.
MinIO reached end of life in February 2026. Docker Extended Lifecycle Support (ELS) keeps end-of-life software like it patched, compliant, and audit-ready for up to five years, covering versions upstream no longer supports all the way up to entire projects.
Apply to become a Docker Verified Publisher (DVP) now directly through Docker Hub. Get your verified content seen first by devs looking for trusted options.
Supply-chain attacks have kept escalating while AI writes more of the code you ship. Docker's latest updates bring more software built from source into your images, keep security coverage running past end of life, carry every guarantee through your customized images, and move policy enforcement onto every developer machine.
Docker VMM is now available in public beta for Mac and Windows. Learn what this means for performance, stability, and governance and how to try it yourself.
Do not confuse negative assertion with a quick timeout. Let me get back to the testing of negative states one more time. Recently, I have read a pretty good blog post How to test that cache works with Cypress by Walmyr. A piece of Cypress test syntax caught my eye: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 cy.search(randomWord).then(() => { expect(count, `network calls to fetch ${randomWord}`).to.equal( 1, ) cy.wait('@random') cy.search(randomWord).then(() => { expect( count, `network calls to fetch ${randomWord}`, ).to.equal(1) }) }) The test above confirms that the web page caches the search…
Finally, it has happened. Cypress v15.14 supports TypeScript v6. This is a big deal - TypeScript v6 is the last step before TypeScript v7 which is implemented in Go and is much faster. By the way, you can try TypeScript v7 beta today. So what do you need to switch your projects to use TS v6 with Cypress? It is pretty straightforward: check out the TypeScript v6 changes, for example this is a good summary switch module resolution from "node" to "bundler" and let Cypress use WebPack to bundle the transpiled code 1 2 3 4 5 6 { "compilerOptions": { - "moduleResolution": "node", +…
I have a little web app called Gametime I use to keep track of players during youth soccer matches. Recently I decided to add a11y testing to ensure the text is readable, inputs have labels, etc. Since I already had Cypress end-to-end tests covering all features of the app, I just needed 60 seconds to ensure the web app is accessible to everyone. Install the wick-a11y plugin First, let's install wick-a11y plugin. 1 2 $ npm i -D wick-a11y [email protected] Register the plugin's tasks in the Cypress config file cypress.config.mjs1 2 3 4 5 6 7 8 9 10 import { defineConfig } from 'cypress' //…
Cypress v15.10.0 has announced a big switch coming in v16 - the new way of dealing with environment values and secrets. Let's see why this change is necessary, what is means for your testing code, and what the best practices for handling secrets in your tests should be. First, let me say: Cypress end-to-end browser tests run in the browser. This is different from Playwright and different from how other test runners execute tests. When you run cypress open or cypress run, the Cypress Electron-based binary starts the Node process, launches the browser, loads the e2e spec into the browser, and…
In Cypress you can save values under aliases which is pretty handy. You can get the aliased value using the cy.get, or by using a cy.then(function () { ... }) callback, or (my favorite solution) using the alias in the next hook or test callback via this.[alias] property 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 beforeEach(() => { cy.wrap(42).as('answer') // later in the same code cy.get('@answer') .should('equal', 42) // alternative 1: cy.then(callback) cy.get(...) .then(function () { // we can access the aliased value expect(this.answer, 'answer').to.equal(42) }) }) // alternative 2 //…
This year I am producing "Cypress vs Playwright Advent Calendar" on my Cypress Tips newsletter. Day 1: global vs local variables Day 2: The difference in test command syntax Day 3: DOM Snapshots vs live application Day 4: Where do the end-to-end tests run? Day 5: Locators and selectors Day 6: Composite locators vs query chains Day 7: Comparing the test runner release frequencies Day 8: Completing todo items and checking CSS classes Day 9: Waiting for page elements Day 10: Make a network call before each test to rest the backend data Day 11: Using API calls rather than UI to set up the initial…
Optional Google Analytics helps us understand visits. Microsoft Clarity records masked interactions to improve the site. Optional tools stay off unless you choose them. Privacy details.