Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/7.5 #970

Merged
merged 7 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions spec/docx/smoke/api_table_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@
it 'ApiTable | SetTableLook method' do
docx = builder.build_and_parse('js/docx/smoke/api_table/set_table_look.js')
expect(docx.elements[1].properties.table_look.first_column).to be_truthy
expect(docx.elements[1].properties.table_style.table_style_properties_list
.first.table_cell_properties.shade.color.upcase)
.to eq(OoxmlParser::Color.new(255, 0, 0).to_hex.to_sym)
# TODO: https://github.com/ONLYOFFICE/ooxml_parser/issues/1214
# expect(docx.elements[1].properties.table_style.table_style_properties_list
# .first.table_cell_properties.shade.color.upcase)
# .to eq(OoxmlParser::Color.new(255, 0, 0).to_hex.to_sym)
expect(docx.elements[1].properties.table_look.first_row).to be_truthy
expect(docx.elements[1].properties.table_look.last_column).to be_truthy
expect(docx.elements[1].properties.table_look.first_row).to be_truthy
Expand Down
4 changes: 4 additions & 0 deletions spec/docx/smoke/api_table_style_pr_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
end

it 'ApiTableStylePr | GetParaPr method' do
skip('https://github.com/ONLYOFFICE/ooxml_parser/issues/1214')
docx = builder.build_and_parse('js/docx/smoke/api_table_style_pr/get_para_pr.js')
expect(docx.elements[1].properties
.table_style.table_style_properties_list
Expand All @@ -24,6 +25,7 @@
end

it 'ApiTableStylePr | GetTablePr method' do
skip('https://github.com/ONLYOFFICE/ooxml_parser/issues/1214')
docx = builder.build_and_parse('js/docx/smoke/api_table_style_pr/get_table_pr.js')
bottom_border = docx.document_style_by_name('CustomTableStyle')
.table_style_properties_list.first.table_properties
Expand All @@ -35,6 +37,7 @@
end

it 'ApiTableStylePr | GetTableRowPr method' do
skip('https://github.com/ONLYOFFICE/ooxml_parser/issues/1214')
docx = builder.build_and_parse('js/docx/smoke/api_table_style_pr/get_table_row_pr.js')
expect(docx.document_style_by_name('CustomTableStyle')
.table_style_properties_list
Expand All @@ -43,6 +46,7 @@
end

it 'ApiTableStylePr | GetTextPr method' do
skip('https://github.com/ONLYOFFICE/ooxml_parser/issues/1214')
docx = builder.build_and_parse('js/docx/smoke/api_table_style_pr/get_text_pr.js')
expect(docx.elements[1].properties.table_style.table_style_properties_list.first.run_properties.font_style.bold).to be_truthy
end
Expand Down
1 change: 0 additions & 1 deletion spec/docx/smoke/api_text_properties_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
end

it 'ApiTextPr | SetHighlight method' do
skip('https://bugzilla.onlyoffice.com/show_bug.cgi?id=62996')
docx = builder.build_and_parse('js/docx/smoke/api_text_pr/set_highlight.js')
expect(docx.elements.first.nonempty_runs.first.highlight).to eq('yellow')
end
Expand Down