mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Added bom import to ApplicationAvailabilityFunctionalTest
This commit is contained in:
parent
e444388517
commit
f3449babc1
3 changed files with 11 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
{% extends "main_card.html.twig" %}
|
||||
|
||||
{% block title %}{% trans %}project.add_parts_to_project{% endtrans %}{% endblock %}
|
||||
{% block title %}{% trans %}project.import_bom{% endtrans %}{% endblock %}
|
||||
|
||||
{% block before_card %}
|
||||
{% if errors %}
|
||||
|
@ -20,8 +20,8 @@
|
|||
|
||||
|
||||
{% block card_title %}
|
||||
<i class="fa-solid fa-magnifying-glass-plus fa-fw"></i>
|
||||
{% trans %}project.add_parts_to_project{% endtrans %}{% if project %}: <i>{{ project.name }}</i>{% endif %}
|
||||
<i class="fa-solid fa-file-import fa-fw"></i>
|
||||
{% trans %}project.import_bom{% endtrans %}{% if project %}: <i>{{ project.name }}</i>{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block card_content %}
|
||||
|
|
|
@ -137,5 +137,6 @@ class ApplicationAvailabilityFunctionalTest extends WebTestCase
|
|||
yield ['/project/1/add_parts'];
|
||||
yield ['/project/1/add_parts?parts=1,2'];
|
||||
yield ['/project/1/build?n=1'];
|
||||
yield ['/project/1/import_bom'];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11148,7 +11148,7 @@ Element 3</target>
|
|||
<unit id="._nn_MY" name="project.bom_import.type.kicad_pcbnew">
|
||||
<segment>
|
||||
<source>project.bom_import.type.kicad_pcbnew</source>
|
||||
<target>KiCAD PCBNew BOM (CSV file)</target>
|
||||
<target>KiCAD Pcbnew BOM (CSV file)</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="iTVcfIk" name="project.bom_import.clear_existing_bom">
|
||||
|
@ -11175,5 +11175,11 @@ Element 3</target>
|
|||
<target>Validation error! Please check your data!</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="0oQjMQO" name="project.import_bom">
|
||||
<segment>
|
||||
<source>project.import_bom</source>
|
||||
<target>Import BOM for project</target>
|
||||
</segment>
|
||||
</unit>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue