...directory. Next, symlink all packs that are required in production: app/ ... webpack/ packs/ app/ test/ packs_production app -> ../packs/app Now tell Webpacker to use these for production (and staging): # config/webpacker.yml...

When you want to test how an web-application reacts in a specific resolution, you can set up a specific Selenium driver for some tests: Before('@chrome320x480') do Capybara.current_driver...

...your path. You can also set a special binary you only use for theese tests. You set up the driver in a file like this # features/support/chrome.rb Capybara.register_driver :chrome320x480 do...

keycdn.com

...Locally or Prefetch Store in LocalStorage with Base64 Encoding Another Method Web Font Performance Tests Google Fonts Test Web Safe Font Test Local Fonts Test Third Party: Typekit Test

...paint or render of your text, so you can avoid FOIT. Remember to run tests for 3G connections as well because mobile users might have a worse experience as opposed...

...comes from try to run the tests with a step output. bundle exec parallel_cucumber --test-options "--format=pretty" feature The deprecation message looks like following: Locator Integer:2 for...

To create a 10 GB file: fallocate -l 10G huge_file.dat

...will not recompile. The digest of the last compilation is cached in tmp/cache/webpacker/last-compilation-digest-test (replace -test with your environment). You can remove that file to force a re-compile...

These tools help you in checking websites globally: DNS Checker This tool allows for global DNS propagation checking. GeoScreenshot

DevOps Curriculum

...die Dokumentation um offene Fragen zu beantworten Erstelle eine Datenbank, fülle diese mit einigen Testdaten und teste Backup/Restores sowohl mit Point In Time Recovery (PITR) als auch mit Snapshots.

Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the site you're about to test is placed behind a...

...login, follow these steps to successfully use ab on it. Open the site to test in the browser of your choice. Do not login yet. Use developer tools to show...

...the actual expression is always converted to a regular expression. # For expected === actual foo('Test(s)', 'Test(s)') #=> true # For expected.match?(actual) foo('Test(s)', 'Test(s)') #=> false

...behavior, not give you a safe string in the end (see below). Example def test(input) input.gsub /(f)/ do puts $1 'b' end end >> test('foo') f => "boo"

...should be customized to work with the existing form styles in your MovieDB. Add tests for all these features. Discussion Discuss the implementation with your mentor, with an emphasis on...

...However, let your mentor show you how a password reset feature is implemented and tested in an existing app...

trac.nginx.org

...the service and get this error message instead: nginx: [emerg] could not build the test_types_hash, you should increase test_types_hash_bucket_size: 64 nginx: configuration file /etc/nginx/nginx.conf...

Option 1: Use gzip_types *; If you don't care about which MIME type gets the gzip handling, just tell nginx that any MIME type should be gziped...

jeffkreeftmeijer.com

...A lot has changed since. Besides the helpers, it got its own RSpec acceptance testing DSL recently, essentially eating Steak’s functionality and turning it into a complete acceptance testing...

...callbacks for a particular form screen, but then the model becomes a pain in tests, where all those callbacks just get in the way. Or we have different forms for...

...the model itself stays slim and validations don't get in the way of tests, validations don't get in the way of tests meaning that developers need to be...

...mit LUKS. Kopiere eine Datei darauf. Gib das Gerät einem Kollegen der es zum testen entschlüsseln soll Beschäftige dich damit, wie die Full System encryption mit LUKS funktioniert. Installiere eine...

makandra dev
github.com

This jasmine plugin helps with testing DOM manipulation in two ways: It gives you DOM-related matchers like toBeVisible() or toHaveCss(css) It gives you a function to load HTML...

...from that file, if there are any. That should only happen in development, since tests or production environments will fail when trying to compile their assets up front. class ApplicationController...

Working with a self-signed certificate is much easier, when the browser accepts it. Google Chrome Warnings from chrome might...

In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image to one that is based on Alpine Linux.

...the locale-provider icu which can also handle UTF-8 locales. I have not tested this approch. So either try this or switch back to a debian-based image (e.g...

github.com

A capybara driver that uses WebKit via QtWebKit.

...nick-invision/retry to re-try a failing command, optionally with a timeout: --- ... jobs: test: ... steps: - name: Run tests uses: nick-invision/retry@v2 with: timeout_seconds: 30 max_attempts...

...to organize features in subdirectories, you won't have any problems when running the whole test-suite. Cucumber will automatically load and run features in subdirectories, too. However, running features...

...working on the project don't have to provide the option for every cucumber test run execution...

...54a28b1 o │ Support dalli 3.2.1 <=== we need this commit bd5188b o │ Fix flakey Memcache tests ... 923d91e M─│─┐ Merge branch '6-1-sec' into 6-1-stable 10a2c77 │ o─┘ Preparing for...