Comments (1)
Tests aren't even using the correct base class btw: https://github.com/torchbox/tbxforms/blob/main/tests/forms.py#L12 After fixing that the markup becomes completely different for basically all tests.
I wonder if it's even useful to test that the rendered html matches something exactly. Instead it might be better to just test if the correct template is used. Or check if it contains certain strings or elements. It might be worth rewriting these instead of updating dozens of html files in tests
.
from tbxforms.
Related Issues (20)
- IE11 support
- American vs. British spelling for color variables
- Wagtail FormBuilder – form rendering error for Date fields with invalid default values HOT 1
- Project dependencies are too restrictive - either by defining fixed versions or strict upper bounds.
- Document how to run tests HOT 3
- CSS import path incorrect? HOT 1
- I would like to be able to add my own class to a label HOT 9
- Entering large values into DateInputField causes an exception
- Empty value on optional DateInputField causes error
- Feature request: validation errors summary HOT 2
- Feature request: guidance or implementation of phone number fields HOT 5
- Port updates from crispy-forms-gds
- Get tox working (locally and in CI) HOT 1
- Bump django-crispy-forms to 2.0 HOT 2
- Remove nested styling inside the `.tbxforms` class HOT 2
- Find a way to automate updating the HTML fixtures HOT 1
- Test suite does not use the correct `BaseForm`
- Using Button raises AttributeError HOT 2
- Port updates from govuk-design-system HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tbxforms.